Skip to content

Commit

Permalink
fix: show exact package name while prompting for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Jan 10, 2021
1 parent 767fe6b commit 66691e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-cli/lib/webpack-cli.js
Expand Up @@ -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`);
Expand Down

0 comments on commit 66691e7

Please sign in to comment.