Skip to content

Commit ffc93e5

Browse files
fix: show exact package name while prompting for installation (#2338)
1 parent 767fe6b commit ffc93e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webpack-cli/lib/webpack-cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ class WebpackCLI {
357357

358358
try {
359359
pkg = await promptInstallation(pkg, () => {
360-
logger.error(`For using this command you need to install: '${green(commandName)}' package`);
360+
logger.error(`For using this command you need to install: '${green(pkg)}' package`);
361361
});
362362
} catch (error) {
363363
logger.error(`Action Interrupted, use '${cyan('webpack-cli help')}' to see possible commands`);

0 commit comments

Comments
 (0)