From 943aa6b455a742395231216e7e54f449c7072dab Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Thu, 6 Sep 2018 13:33:12 +0200 Subject: [PATCH] Fix exit code when multiple CLIs are installed fixes #7998 --- bin/webpack.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/webpack.js b/bin/webpack.js index 977fe5c93ea..66250395742 100755 --- a/bin/webpack.js +++ b/bin/webpack.js @@ -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; }