summaryrefslogtreecommitdiff
path: root/deps/npm/lib/unstar.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/unstar.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/unstar.js')
-rw-r--r--deps/npm/lib/unstar.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/npm/lib/unstar.js b/deps/npm/lib/unstar.js
index bc32ba617b..36ce1daf1a 100644
--- a/deps/npm/lib/unstar.js
+++ b/deps/npm/lib/unstar.js
@@ -11,6 +11,15 @@ class Unstar extends Star {
return 'unstar'
}
+ /* istanbul ignore next - see test/lib/load-all-commands.js */
+ static get params () {
+ return [
+ 'registry',
+ 'unicode',
+ 'otp',
+ ]
+ }
+
exec (args, cb) {
this.npm.config.set('star.unstar', true)
super.exec(args, cb)