mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: 🚨 Remove process.exit usage
This commit is contained in:
parent
b1d8595a7c
commit
076e930369
8 changed files with 22 additions and 45 deletions
2
build.ts
2
build.ts
|
|
@ -29,7 +29,7 @@ await Bun.build({
|
|||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
console.error(output.logs);
|
||||
process.exit(1);
|
||||
throw new Error("Build failed");
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue