refactor: 🚨 Remove process.exit usage

This commit is contained in:
Jesse Wierzbinski 2024-10-03 11:59:26 +02:00
parent b1d8595a7c
commit 076e930369
No known key found for this signature in database
8 changed files with 22 additions and 45 deletions

View file

@ -29,7 +29,7 @@ await Bun.build({
}).then((output) => {
if (!output.success) {
console.error(output.logs);
process.exit(1);
throw new Error("Build failed");
}
});