From 1d2ea36facb16259e8622d7aaf6829b76503ed76 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Wed, 29 Jan 2025 17:25:04 +0100 Subject: [PATCH] refactor: :fire: Remove old pre Bun 1.2 compile error check Bun 1.2 now default to actually throwing an error instead of always succeeding --- build-worker.ts | 5 ----- build.ts | 5 ----- 2 files changed, 10 deletions(-) diff --git a/build-worker.ts b/build-worker.ts index 7b001f3e..29f9f044 100644 --- a/build-worker.ts +++ b/build-worker.ts @@ -11,11 +11,6 @@ await Bun.build({ target: "bun", splitting: true, minify: false, -}).then((output) => { - if (!output.success) { - console.error(output.logs); - throw new Error("Build failed"); - } }); buildSpinner.text = "Transforming"; diff --git a/build.ts b/build.ts index 0b11f780..fd74fbd5 100644 --- a/build.ts +++ b/build.ts @@ -26,11 +26,6 @@ await Bun.build({ splitting: true, minify: false, external: ["unzipit", "acorn", "@bull-board/ui"], -}).then((output) => { - if (!output.success) { - console.error(output.logs); - throw new Error("Build failed"); - } }); buildSpinner.text = "Transforming";