diff options
Diffstat (limited to 'lib/npm.js')
-rw-r--r-- | lib/npm.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/npm.js b/lib/npm.js index b3640836a..5321debf3 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -44,16 +44,6 @@ try { var j = JSON.parse(fs.readFileSync( path.join(__dirname, "../package.json"))+"") npm.version = j.version - npm.nodeVersionRequired = j.engines.node - if (!semver.satisfies(pv, j.engines.node)) { - log.warn("unsupported version", ["" - ,"npm requires node version: "+j.engines.node - ,"And you have: "+pv - ,"which is not satisfactory." - ,"" - ,"Bad things will likely happen. You have been warned." - ,""].join("\n")) - } } catch (ex) { try { log.info("error reading version", ex) |