Skip to content

Commit

Permalink
Don't label runtime as io.js
Browse files Browse the repository at this point in the history
  • Loading branch information
otisg authored Feb 13, 2020
1 parent df85a89 commit 629fe5d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/sender/influxsender.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ InfluxSender.prototype.sendClientInfo = function (action, terminate) {
programVersion = clientVersion
}
var runtime = 'nodejs'
if (/[1|2|3]\.\d+\.\d+/.test(process.versions.node)) {
runtime = 'io.js'
}
var info = os.platform() + ' ' + os.arch() + ', ' + runtime + ' ' + process.versions.node + ',PID ' + process.pid + ',PPID ' + process.ppid
if (terminate) {
info = info + ',' + terminate
Expand Down

0 comments on commit 629fe5d

Please sign in to comment.