diff --git a/client/scripts/build.js b/client/scripts/build.js index 4e32b36f116e..3f1091c13e84 100644 --- a/client/scripts/build.js +++ b/client/scripts/build.js @@ -76,7 +76,7 @@ function build() { err["postcssNode"].selector; } - reject(errMessage); + return reject(errMessage); } if (stats.hasErrors()) { return reject(