Skip to content

Commit

Permalink
Fix exit code when multiple CLIs are installed
Browse files Browse the repository at this point in the history
fixes #7998
  • Loading branch information
sokra committed Sep 6, 2018
1 parent dfe6379 commit 943aa6b
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 943aa6b

Please sign in to comment.