Skip to content

Commit 095e280

Browse files
committed
Exit with error when config promise is rejected
1 parent 771c6b2 commit 095e280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/webpack.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ function processOptions(options) {
166166
if(typeof options.then === "function") {
167167
options.then(processOptions).catch(function(err) {
168168
console.error(err.stack || err);
169-
process.exit(); // eslint-disable-line
169+
process.exit(1); // eslint-disable-line
170170
});
171171
return;
172172
}

0 commit comments

Comments
 (0)