From 5b52350ae0b8acd75ee3d611ef1d287b7b5a496a Mon Sep 17 00:00:00 2001 From: Aditya Hase Date: Fri, 16 Jun 2023 12:27:30 +0530 Subject: [PATCH] fix(build): Exit build process instead of throwing an exception --- esbuild/esbuild.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esbuild/esbuild.js b/esbuild/esbuild.js index 8c386c86e4..e1594aa651 100644 --- a/esbuild/esbuild.js +++ b/esbuild/esbuild.js @@ -89,7 +89,7 @@ execute() .then(() => RUN_BUILD_COMMAND && run_build_command_for_apps(APPS)) .catch((e) => { console.error(e); - throw e; + process.exit(1); }); if (WATCH_MODE) {