Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/hook.js')
-rw-r--r--deps/npm/lib/hook.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/npm/lib/hook.js b/deps/npm/lib/hook.js
index e0e15243e03..7d69ccbf2aa 100644
--- a/deps/npm/lib/hook.js
+++ b/deps/npm/lib/hook.js
@@ -13,8 +13,6 @@ const usage = usageUtil('hook', [
'npm hook update <id> <url> <secret>',
].join('\n'))
-const completion = require('./utils/completion/none.js')
-
const cmd = (args, cb) => hook(args).then(() => cb()).catch(cb)
const hook = async (args) => otplease(npm.flatOptions, opts => {
@@ -127,4 +125,4 @@ const hookName = (hook) => {
return target
}
-module.exports = Object.assign(cmd, { usage, completion })
+module.exports = Object.assign(cmd, { usage })