Skip to content

Commit

Permalink
fix: redact when displaying non-ascii arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 24, 2024
1 parent 18cb270 commit d718aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = async (process, validateEngines) => {
log.error(
'arg',
'Argument starts with non-ascii dash, this is probably invalid:',
nonDashArgs.join(', ')
require('@npmcli/redact').redactLog(nonDashArgs.join(', '))
)
}

Expand Down

0 comments on commit d718aef

Please sign in to comment.