From 98b11732eb3ae2bd22ff2e2a4b40c7db91ced170 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Thu, 11 Apr 2024 13:58:07 +0200 Subject: [PATCH 1/2] fix: typo in `npm access` usage --- lib/commands/access.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/access.js b/lib/commands/access.js index 99c1264a84eda..4594241b402b7 100644 --- a/lib/commands/access.js +++ b/lib/commands/access.js @@ -36,7 +36,7 @@ class Access extends BaseCommand { ] static usage = [ - 'list packages [|| []', + 'list packages [||] []', 'list collaborators [ []]', 'get status []', 'set status=public|private []', From bc7066fc7d9139a32f5c1e6ba8e9d13a1418f6b9 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Fri, 12 Apr 2024 19:06:20 +0200 Subject: [PATCH 2/2] Update docs.js.test.cjs --- tap-snapshots/test/lib/docs.js.test.cjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index 64c31014f5d1d..ad20cfa5069e0 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -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 [|| [] +npm access list packages [||] [] npm access list collaborators [ []] npm access get status [] npm access set status=public|private [] @@ -2566,7 +2566,7 @@ Options: Run "npm help access" for more info \`\`\`bash -npm access list packages [|| [] +npm access list packages [||] [] npm access list collaborators [ []] npm access get status [] npm access set status=public|private []