diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2015-02-27 03:08:20 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2015-02-27 03:20:31 +0300 |
commit | 628fcdb0be4e14c0312085a50dc2ae01dc713fa6 (patch) | |
tree | a97292ac8fb03d49d125a9e872782f7afd27ad4a /lib/bugs.js | |
parent | d7b785393dffce93bb70317fbc039a6428ca37c5 (diff) |
completion: remove registry calls to -/short
Diffstat (limited to 'lib/bugs.js')
-rw-r--r-- | lib/bugs.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/lib/bugs.js b/lib/bugs.js index fabbbaf10..306d9bb4b 100644 --- a/lib/bugs.js +++ b/lib/bugs.js @@ -13,14 +13,9 @@ var npm = require("./npm.js") , mapToRegistry = require("./utils/map-to-registry.js") bugs.completion = function (opts, cb) { - if (opts.conf.argv.remain.length > 2) return cb() - mapToRegistry("-/short", npm.config, function (er, uri, auth) { - if (er) return cb(er) - - npm.registry.get(uri, { timeout : 60000, auth : auth }, function (er, list) { - return cb(null, list || []) - }) - }) + // FIXME: there used to be registry completion here, but it stopped making + // sense somewhere around 50,000 packages on the registry + cb() } function bugs (args, cb) { |