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:
authorForrest L Norvell <forrest@npmjs.com>2014-07-01 21:59:22 +0400
committerForrest L Norvell <forrest@npmjs.com>2014-07-01 22:09:40 +0400
commitf6874335d22290788b625b3b147958bde4f1aa7e (patch)
tree61c30c326488be931b2d72d7c696c9b505ec60de /lib/bugs.js
parentbea190c745f10d21cce45687298b13b6d9d7a10c (diff)
relative URLS for working non-root registry URLS
Diffstat (limited to 'lib/bugs.js')
-rw-r--r--lib/bugs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bugs.js b/lib/bugs.js
index 9584c326c..b3022bf2a 100644
--- a/lib/bugs.js
+++ b/lib/bugs.js
@@ -14,7 +14,7 @@ var npm = require("./npm.js")
bugs.completion = function (opts, cb) {
if (opts.conf.argv.remain.length > 2) return cb()
- var uri = url.resolve(npm.config.get("registry"), "/-/short")
+ var uri = url.resolve(npm.config.get("registry"), "-/short")
registry.get(uri, { timeout : 60000 }, function (er, list) {
return cb(null, list || [])
})