Skip to content

Commit b776753

Browse files
Gekurogek
and
gek
authored
fix: Grammar mistake in authentication error message (#6928)
Co-authored-by: gek <[email protected]>
1 parent c422a01 commit b776753

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/utils/error-message.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const errorMessage = (er, npm) => {
182182
])
183183
detail.push([
184184
'',
185-
['To correct this please trying logging in again with:', ' npm login'].join('\n'),
185+
['To correct this please try logging in again with:', ' npm login'].join('\n'),
186186
])
187187
} else if (auth.includes('Basic')) {
188188
short.push(['', 'Incorrect or missing password.'])

tap-snapshots/test/lib/utils/error-message.js.test.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ Object {
11371137
Array [
11381138
"",
11391139
String(
1140-
To correct this please trying logging in again with:
1140+
To correct this please try logging in again with:
11411141
npm login
11421142
),
11431143
],

0 commit comments

Comments
 (0)