0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-13 22:48:31 -05:00

fix: adduser error message grammar (#4586)

* fix: adduser error message grammar

* changeset

* include username in changeset according to contribution guidelines
This commit is contained in:
Tobbe Lundberg 2024-04-23 10:07:35 +02:00 committed by GitHub
parent eb9bbb4313
commit 4dc62a8365
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@verdaccio/auth': patch
---
fix: adduser error message grammar (@tobbe in #4586)

View file

@ -239,7 +239,7 @@ class Auth implements IAuthMiddleware, TokenEncryption, pluginUtils.IBasicAuth {
password,
function (err: VerdaccioError | null, ok?: boolean | string): void {
if (err) {
debug('the user %o could not being added. Error: %o', user, err?.message);
debug('the user %o could not be added. Error: %o', user, err?.message);
return cb(err);
}
if (ok) {