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>2020-07-08 01:58:56 +0300
committerisaacs <i@izs.me>2020-07-08 03:22:42 +0300
commitfa65ba7969ac7f13554ae33c5bb34574c9d892e6 (patch)
tree5e78438842e48f1a0c58110f7e492377e55badd2 /lib/bugs.js
parente798ef6947bf0e4c6e1e7e6bb3895bb918c0c469 (diff)
add completion module for 'no completion possible'
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 55f81989a..85b975758 100644
--- a/lib/bugs.js
+++ b/lib/bugs.js
@@ -7,7 +7,7 @@ const npm = require('./npm.js')
const hostedFromMani = require('./utils/hosted-git-info-from-manifest.js')
const usage = usageUtil('bugs', 'npm bugs [<pkgname>]')
-const completion = (opts, cb) => cb(null, [])
+const completion = require('./utils/completion/none.js')
const cmd = (args, cb) => bugs(args).then(() => cb()).catch(cb)