+2
-3
lines changedFilter options
+2
-3
lines changed Original file line number Diff line number Diff line change
@@ -5,7 +5,6 @@ class Prefix extends BaseCommand {
5
5
static description = 'Display prefix'
6
6
static name = 'prefix'
7
7
static params = ['global']
8
-
static usage = ['[-g]']
9
8
10
9
async exec () {
11
10
return output.standard(this.npm.prefix)
Original file line number Diff line number Diff line change
@@ -3754,15 +3754,15 @@ exports[`test/lib/docs.js TAP usage prefix > must match snapshot 1`] = `
3754
3754
Display prefix
3755
3755
3756
3756
Usage:
3757
-
npm prefix [-g]
3757
+
npm prefix
3758
3758
3759
3759
Options:
3760
3760
[-g|--global]
3761
3761
3762
3762
Run "npm help prefix" for more info
3763
3763
3764
3764
\`\`\`bash
3765
-
npm prefix [-g]
3765
+
npm prefix
3766
3766
\`\`\`
3767
3767
3768
3768
Note: This command is unaware of workspaces.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4