diff options
Diffstat (limited to 'lib/rebuild.js')
-rw-r--r-- | lib/rebuild.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/rebuild.js b/lib/rebuild.js index f5f234aa1..a43e6c253 100644 --- a/lib/rebuild.js +++ b/lib/rebuild.js @@ -10,10 +10,7 @@ var readInstalled = require("./utils/read-installed") rebuild.usage = "npm rebuild [<name>[@<version>] [name[@<version>] ...]]" -rebuild.completion = function (args, index, cb) { - var installedPkgs = require("./utils/completion/installed-packages") - installedPkgs(args, index, true, true, cb) -} +rebuild.completion = require("./utils/completion/installed-deep") function rebuild (args, cb) { readInstalled(npm.prefix, function (er, data) { |