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:
Diffstat (limited to 'lib/prefix.js')
-rw-r--r--lib/prefix.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/prefix.js b/lib/prefix.js
index 1298a3c5b..172f8d8fa 100644
--- a/lib/prefix.js
+++ b/lib/prefix.js
@@ -12,6 +12,11 @@ class Prefix extends BaseCommand {
}
/* istanbul ignore next - see test/lib/load-all-commands.js */
+ static get params () {
+ return ['global']
+ }
+
+ /* istanbul ignore next - see test/lib/load-all-commands.js */
static get usage () {
return ['[-g]']
}