summaryrefslogtreecommitdiff
path: root/deps/npm/lib/repo.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/repo.js')
-rw-r--r--deps/npm/lib/repo.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/deps/npm/lib/repo.js b/deps/npm/lib/repo.js
index 3db4a16bc9..1b0454773d 100644
--- a/deps/npm/lib/repo.js
+++ b/deps/npm/lib/repo.js
@@ -15,14 +15,9 @@ var npm = require("./npm.js")
, npa = require("npm-package-arg")
repo.completion = function (opts, cb) {
- if (opts.conf.argv.remain.length > 2) return cb()
- mapToRegistry("/-/short", npm.config, function (er, uri) {
- if (er) return cb(er)
-
- npm.registry.get(uri, { timeout : 60000 }, 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 repo (args, cb) {