Skip to content

Commit

Permalink
Update code to match README which states that at least node 0.8.0 is …
Browse files Browse the repository at this point in the history
…required.
  • Loading branch information
markstos committed Jan 15, 2015
1 parent f17e6f7 commit a946516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ try {

var major = parseInt(process.version.split('.')[0]);
var minor = process.version.split('.')[1];
if (process.version && (major === 0) && (minor < 6)) {
if (process.version && (major === 0) && (minor < 8)) {
message = "New Relic for Node.js requires a version of Node equal to or\n" +
"greater than 0.6.0. Not starting!"
"greater than 0.8.0. Not starting!"

logger.error(message)
throw new Error(message)
Expand Down

0 comments on commit a946516

Please sign in to comment.