Skip to content

Commit

Permalink
fix: show exact package name while prompting for installation (#2338)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 authored Jan 10, 2021
1 parent 767fe6b commit ffc93e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-cli/lib/webpack-cli.js
Original file line number Diff line number Diff line change
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 ffc93e5

Please sign in to comment.