From 66691e7cf72e25470cc2761364bf7ee660995083 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Sat, 9 Jan 2021 23:27:11 +0530 Subject: [PATCH] fix: show exact package name while prompting for installation --- packages/webpack-cli/lib/webpack-cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-cli/lib/webpack-cli.js b/packages/webpack-cli/lib/webpack-cli.js index cae401941d8..e18f4a5bdb7 100644 --- a/packages/webpack-cli/lib/webpack-cli.js +++ b/packages/webpack-cli/lib/webpack-cli.js @@ -357,7 +357,7 @@ class WebpackCLI { try { pkg = await promptInstallation(pkg, () => { - logger.error(`For using this command you need to install: '${green(commandName)}' package`); + logger.error(`For using this command you need to install: '${green(pkg)}' package`); }); } catch (error) { logger.error(`Action Interrupted, use '${cyan('webpack-cli help')}' to see possible commands`);