Skip to content

Commit

Permalink
Merge pull request #8001 from webpack/bugfix/exit-code
Browse files Browse the repository at this point in the history
Fix exit code when multiple CLIs are installed
  • Loading branch information
sokra committed Sep 6, 2018
2 parents dfe6379 + 943aa6b commit c5eab67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/webpack.js
Expand Up @@ -174,4 +174,5 @@ if (installedClis.length === 0) {
" and "
)} together. To work with the "webpack" command you need only one CLI package, please remove one of them or use them directly via their binary.`
);
process.exitCode = 1;
}

0 comments on commit c5eab67

Please sign in to comment.