Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2014-09-13 03:45:30 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-09-13 08:34:08 +0400
commit1d7b2e74485daa749fa95aab0eb4ef8c242c779f (patch)
treee51d33a8caab1f2acabc226915b4c1c1dd29f4f0 /bin
parentea515c3b858bf493a7b87fa4cdc2110a0d9cef7f (diff)
style tweaks & dead variable removal
Diffstat (limited to 'bin')
-rwxr-xr-xbin/npm-cli.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index 79ae7f50a..ed81a989a 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -19,8 +19,7 @@ var log = require("npmlog")
log.pause() // will be unpaused when config is loaded.
log.info("it worked if it ends with", "ok")
-var fs = require("graceful-fs")
- , path = require("path")
+var path = require("path")
, npm = require("../lib/npm.js")
, npmconf = require("npmconf")
, errorHandler = require("../lib/utils/error-handler.js")
@@ -58,10 +57,6 @@ if (conf.versions) {
log.info("using", "npm@%s", npm.version)
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
-
process.on("uncaughtException", errorHandler)
if (conf.usage && npm.command !== "help") {