diff options
author | isaacs <i@izs.me> | 2014-09-12 03:42:10 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-09-12 03:42:10 +0400 |
commit | c6ddb6462fe32bf3a27b2c4a62a032a92e982429 (patch) | |
tree | fc4bd3d2fbfe46a4afcb8868f95aa41863394bbe /bin | |
parent | 47b340ec27af4cc23c0a0de777246e96395e043c (diff) |
Remove engines
Node v0.6 is pretty much gone at this point. Also, the -pre upsets
SemVer 4, making it annoying to test npm on Node in development.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/npm-cli.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js index ef8873542..79ae7f50a 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -61,12 +61,6 @@ log.info("using", "node@%s", process.version) // make sure that this version of node works with this version of npm. var semver = require("semver") , nodeVer = process.version - , reqVer = npm.nodeVersionRequired -if (reqVer && !semver.satisfies(nodeVer, reqVer)) { - return errorHandler(new Error( - "npm doesn't work with node " + nodeVer - + "\nRequired: node@" + reqVer), true) -} process.on("uncaughtException", errorHandler) |