Skip to content

Commit

Permalink
fix(build): return early on error (#11352)
Browse files Browse the repository at this point in the history
  • Loading branch information
argl authored Jun 22, 2024
1 parent 307e469 commit 0ee33f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function build() {
err["postcssNode"].selector;
}

reject(errMessage);
return reject(errMessage);
}
if (stats.hasErrors()) {
return reject(
Expand Down

0 comments on commit 0ee33f7

Please sign in to comment.