Skip to content

Commit

Permalink
fix: typo in npm access usage (#7370)
Browse files Browse the repository at this point in the history
Add closing `]` for optional owner parameter.
  • Loading branch information
mbtools authored Apr 12, 2024
1 parent 4736b0d commit 2a80dab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/commands/access.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Access extends BaseCommand {
]

static usage = [
'list packages [<user>|<scope>|<scope:team> [<package>]',
'list packages [<user>|<scope>|<scope:team>] [<package>]',
'list collaborators [<package> [<user>]]',
'get status [<package>]',
'set status=public|private [<package>]',
Expand Down
4 changes: 2 additions & 2 deletions tap-snapshots/test/lib/docs.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2552,7 +2552,7 @@ exports[`test/lib/docs.js TAP usage access > must match snapshot 1`] = `
Set access level on published packages
Usage:
npm access list packages [<user>|<scope>|<scope:team> [<package>]
npm access list packages [<user>|<scope>|<scope:team>] [<package>]
npm access list collaborators [<package> [<user>]]
npm access get status [<package>]
npm access set status=public|private [<package>]
Expand All @@ -2566,7 +2566,7 @@ Options:
Run "npm help access" for more info
\`\`\`bash
npm access list packages [<user>|<scope>|<scope:team> [<package>]
npm access list packages [<user>|<scope>|<scope:team>] [<package>]
npm access list collaborators [<package> [<user>]]
npm access get status [<package>]
npm access set status=public|private [<package>]
Expand Down

0 comments on commit 2a80dab

Please sign in to comment.