We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3bb8c9 commit 30c35abCopy full SHA for 30c35ab
1 file changed
bin/webpack.js
@@ -3,7 +3,8 @@ function runCommand(command, options) {
3
const cp = require("child_process");
4
return new Promise((resolve, reject) => {
5
const executedCommand = cp.spawn(command, options, {
6
- stdio: "inherit"
+ stdio: "inherit",
7
+ shell: true
8
});
9
10
executedCommand.on("error", error => {
@@ -43,7 +44,7 @@ if (!webpackCliInstalled) {
43
44
45
const commandToBeRun = `${packageManager} ${options.join(" ")}`;
46
- const question = `Would you like to install webpack-cli? (That will run ${commandToBeRun}) `;
47
+ const question = `Would you like to install webpack-cli? (That will run ${commandToBeRun}) (yes/NO)`;
48
49
console.error("The CLI moved into a separate package: webpack-cli");
50
const questionInterface = readLine.createInterface({
0 commit comments