mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
Use Node 14 compatible syntax
This commit is contained in:
@@ -42,7 +42,7 @@ if (!USE_EXISTING_PROCESS) {
|
||||
});
|
||||
});
|
||||
process.on("beforeExit", () => {
|
||||
bunProcess?.kill(0);
|
||||
bunProcess && bunProcess.kill(0);
|
||||
});
|
||||
}
|
||||
const isDebug = bunExec.endsWith("-debug");
|
||||
|
||||
Reference in New Issue
Block a user