Skip to content

Commit 7f4e667

Browse files
committed
fix: redact when displaying non-ascii arguments
1 parent 06202f0 commit 7f4e667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/entry.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = async (process, validateEngines) => {
6161
log.error(
6262
'arg',
6363
'Argument starts with non-ascii dash, this is probably invalid:',
64-
nonDashArgs.join(', ')
64+
require('@npmcli/redact').redactLog(nonDashArgs.join(', '))
6565
)
6666
}
6767

0 commit comments

Comments
 (0)