Skip to content

Commit

Permalink
fix: add isntall alias to install (#4573)
Browse files Browse the repository at this point in the history
Without this, the isntall-clean alias is matched and ran
  • Loading branch information
wraithgar authored Mar 17, 2022
1 parent f7e58fa commit 5471ff5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/utils/cmd-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const affordances = {
isnt: 'install',
isnta: 'install',
isntal: 'install',
isntall: 'install',
'install-clean': 'ci',
'isntall-clean': 'ci',
hlep: 'help',
Expand Down
1 change: 1 addition & 0 deletions tap-snapshots/test/lib/commands/completion.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ Array [
isnt
isnta
isntal
isntall
install-clean
isntall-clean
hlep
Expand Down
2 changes: 1 addition & 1 deletion tap-snapshots/test/lib/load-all-commands.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ Options:
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall, add
Run "npm help install" for more info
`
Expand Down
2 changes: 2 additions & 0 deletions tap-snapshots/test/lib/utils/cmd-list.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Object {
"isnt": "install",
"isnta": "install",
"isntal": "install",
"isntall": "install",
"isntall-clean": "ci",
"issues": "bugs",
"la": "ll",
Expand Down Expand Up @@ -71,6 +72,7 @@ Object {
"isnt": "install",
"isnta": "install",
"isntal": "install",
"isntall": "install",
"isntall-clean": "ci",
"issues": "bugs",
"it": "install-test",
Expand Down
2 changes: 1 addition & 1 deletion tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ All commands:
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall, add
Run "npm help install" for more info
Expand Down

0 comments on commit 5471ff5

Please sign in to comment.