Skip to content

Commit adb4e9d

Browse files
authored
fix(webpack): set exitCode if the configuration failed (#10327)
fixes #10314
1 parent 7787ce9 commit adb4e9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/webpack5/src/bin/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ program
8383

8484
if (!configuration) {
8585
console.log('No configuration!');
86+
process.exitCode = 1;
8687
return;
8788
}
8889

0 commit comments

Comments
 (0)