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/npm.js
diff options
context:
space:
mode:
Diffstat (limited to 'npm.js')
-rwxr-xr-xnpm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/npm.js b/npm.js
index 7b092c1a3..174157353 100755
--- a/npm.js
+++ b/npm.js
@@ -2,6 +2,7 @@
if (!process.EventEmitter.prototype.on) {
process.EventEmitter.prototype.on = process.EventEmitter.prototype.addListener
}
+var path = require("path")
if (!process.execPath) {
process.execPath = path.join(process.installPrefix, "bin", "node")
}
@@ -12,7 +13,6 @@ var npm = exports
, ini = require("./lib/utils/ini")
, log = require("./lib/utils/log")
, fs = require("fs")
- , path = require("path")
npm.commands = {}
npm.SHOULD_EXIT = true