Skip to content

Commit 8776742

Browse files
committed
docs: format publish as code to highlight it
1 parent 906aacc commit 8776742

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/lib/content/commands/npm-adduser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Create a new user in the specified registry, and save the credentials to
1414
the `.npmrc` file. If no registry is specified, the default registry
1515
will be used (see [`registry`](/using-npm/registry)).
1616

17-
When you run `npm adduser`, the CLI automatically generates a legacy token of publish type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
17+
When you run `npm adduser`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
1818

1919
When using `legacy` for your `auth-type`, the username, password, and
2020
email are read in from prompts.

docs/lib/content/commands/npm-login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Verify a user in the specified registry, and save the credentials to the
1414
`.npmrc` file. If no registry is specified, the default registry will be
1515
used (see [`config`](/using-npm/config)).
1616

17-
When you run `npm login`, the CLI automatically generates a legacy token of publish type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
17+
When you run `npm login`, the CLI automatically generates a legacy token of `publish` type. For more information, see [About legacy tokens](/about-access-tokens#about-legacy-tokens).
1818

1919
When using `legacy` for your `auth-type`, the username and password, are
2020
read in from prompts.

0 commit comments

Comments
 (0)