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/cli.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli.js b/cli.js
index b747375a0..50127442b 100755
--- a/cli.js
+++ b/cli.js
@@ -9,9 +9,8 @@ log("ok", "it worked if it ends with")
var fs = require("fs")
, path = require("path")
, sys = require("sys")
- // kludge for earlier nodes' lack of absolute module identity
- , npm = require(__dirname+"/npm")
- , ini = require(__dirname+"/lib/utils/ini")
+ , npm = require("./npm")
+ , ini = require("./lib/utils/ini")
// supported commands.
, argv = process.argv.slice(2)