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
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-06-14 04:25:42 +0400
committerisaacs <i@izs.me>2014-06-14 04:25:42 +0400
commit2bcb7f3bb8d6482c2dbee458b6d2b8bc41736c34 (patch)
tree2f0e45948260fdf82765961f4a5a212a2fa29106
parent3ebee0e474529d94c7e5a822013e4f2735783ffb (diff)
syntax error in owner
-rw-r--r--lib/owner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/owner.js b/lib/owner.js
index cf6c16a34..45ef8c833 100644
--- a/lib/owner.js
+++ b/lib/owner.js
@@ -20,7 +20,7 @@ owner.completion = function (opts, cb) {
case "ls":
if (argv.length > 3) return cb()
uri = url.resolve(npm.config.get("registry"), "/-/short")
- else return registry.get(uri, null, cb)
+ return registry.get(uri, null, cb)
case "rm":
if (argv.length > 3) {