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:
authorRuy Adorno <ruyadorno@hotmail.com>2021-03-01 19:38:43 +0300
committerMichaël Zasso <targos@protonmail.com>2021-03-02 16:08:55 +0300
commitf3d67000a0a6bdce5cbb9ad506a008e5d709bb71 (patch)
tree650f0737f1d7676f374b523f27bf9b26bb70bb00 /deps/npm/lib/publish.js
parent725d48ae777ec23e915370019a60a835a2569711 (diff)
deps: upgrade npm to 7.6.0
PR-URL: https://github.com/nodejs/node/pull/37559 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'deps/npm/lib/publish.js')
-rw-r--r--deps/npm/lib/publish.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/lib/publish.js b/deps/npm/lib/publish.js
index 3e8df0076ef..5ec66d42fa9 100644
--- a/deps/npm/lib/publish.js
+++ b/deps/npm/lib/publish.js
@@ -18,7 +18,6 @@ const { getContents, logTar } = require('./utils/tar.js')
// defaults and metadata, like git sha's and default scripts and all that.
const readJson = util.promisify(require('read-package-json'))
-const completion = require('./utils/completion/none.js')
const usageUtil = require('./utils/usage.js')
const usage = usageUtil('publish',
'npm publish [<folder>] [--tag <tag>] [--access <public|restricted>] [--dry-run]' +
@@ -137,4 +136,4 @@ const publish_ = async (arg, opts) => {
return pkgContents
}
-module.exports = Object.assign(cmd, { usage, completion })
+module.exports = Object.assign(cmd, { usage })