From ee81987b048eb98d6640ee059bc52c622252e7ae Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Sun, 12 May 2024 20:49:00 -0700 Subject: [PATCH] Update error-message.js --- lib/utils/error-message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ],