diff --git a/lib/utils/error-message.js b/lib/utils/error-message.js index d9a13cc1a015b..b47cc5690a4f3 100644 --- a/lib/utils/error-message.js +++ b/lib/utils/error-message.js @@ -457,7 +457,7 @@ const getError = (err, { npm, command, pkg }) => { suppressError: true, standard: [ `Unknown command: "${err.command}"`, - suggestions ? `\n\n${suggestions}` : '', + suggestions, 'To see a list of supported npm commands, run:', ' npm help', ],