Skip to content

Commit ee81987

Browse files
authored
Update error-message.js
1 parent a2e85da commit ee81987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/error-message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ const getError = (err, { npm, command, pkg }) => {
457457
suppressError: true,
458458
standard: [
459459
`Unknown command: "${err.command}"`,
460-
suggestions ? `\n\n${suggestions}` : '',
460+
suggestions,
461461
'To see a list of supported npm commands, run:',
462462
' npm help',
463463
],

0 commit comments

Comments
 (0)