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:
authorisaacs <i@izs.me>2010-11-15 03:42:17 +0300
committerisaacs <i@izs.me>2010-11-15 03:42:17 +0300
commitb847efe04bd3f212f60d8617fe262d64cf86fa7f (patch)
tree24f2e8a95e8e4891f9d99aead9718ccee2443e55 /cli.js
parent39940640db37e22f6b7c04d6b11dd81289ea1c47 (diff)
Handy for listing local modules.
Diffstat (limited to 'cli.js')
-rwxr-xr-xcli.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli.js b/cli.js
index e977f48cd..7c53ea344 100755
--- a/cli.js
+++ b/cli.js
@@ -45,6 +45,7 @@ while (arg = argv.shift()) {
} else arglist.push(arg)
}
if (key) conf[key] = true
+if (conf.noreg) conf.registry = null
npm.argv = arglist
var vindex = arglist.indexOf("-v")