summaryrefslogtreecommitdiff
path: root/deps/npm/lib/help.js
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2021-05-20 15:54:50 -0400
committerRuy Adorno <ruyadorno@hotmail.com>2021-05-21 10:58:00 -0400
commitaa0e4eb27f922017d7a05f41b483e57188dbd3e7 (patch)
tree531d4a5bfd66f585c715ea51ca05fb9d7f74392a /deps/npm/lib/help.js
parent50f076c4f59bbaaf129e858abfe8327b64d1113c (diff)
downloadnode-new-aa0e4eb27f922017d7a05f41b483e57188dbd3e7.tar.gz
deps: upgrade npm to 7.14.0
PR-URL: https://github.com/nodejs/node/pull/38750 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Beth Griggs <bgriggs@redhat.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'deps/npm/lib/help.js')
-rw-r--r--deps/npm/lib/help.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/deps/npm/lib/help.js b/deps/npm/lib/help.js
index e9aade5215..8e4ff67bc2 100644
--- a/deps/npm/lib/help.js
+++ b/deps/npm/lib/help.js
@@ -27,6 +27,11 @@ class Help extends BaseCommand {
return ['<term> [<terms..>]']
}
+ /* istanbul ignore next - see test/lib/load-all-commands.js */
+ static get params () {
+ return ['viewer']
+ }
+
async completion (opts) {
if (opts.conf.argv.remain.length > 2)
return []