Skip to content

Commit

Permalink
fix: Grammar mistake in authentication error message (#6928)
Browse files Browse the repository at this point in the history
Co-authored-by: gek <gek@Kubuntu.myguest.virtualbox.org>
  • Loading branch information
Gekuro and gek authored Oct 25, 2023
1 parent c422a01 commit b776753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/error-message.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const errorMessage = (er, npm) => {
])
detail.push([
'',
['To correct this please trying logging in again with:', ' npm login'].join('\n'),
['To correct this please try logging in again with:', ' npm login'].join('\n'),
])
} else if (auth.includes('Basic')) {
short.push(['', 'Incorrect or missing password.'])
Expand Down
2 changes: 1 addition & 1 deletion tap-snapshots/test/lib/utils/error-message.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ Object {
Array [
"",
String(
To correct this please trying logging in again with:
To correct this please try logging in again with:
npm login
),
],
Expand Down

0 comments on commit b776753

Please sign in to comment.