diff options
author | 2021-12-21 21:56:49 -0800 | |
---|---|---|
committer | 2021-12-21 21:56:49 -0800 | |
commit | 3f72da9d0bba201fbfbedea9a357e76e6c93593f (patch) | |
tree | 6a74b6ad23f985d26c0c3fdfa2984f95f92829ee /integration/scripts/browser.js | |
parent | 873e12c7c61a7e798489ce51ca32389a86f1e29f (diff) | |
download | bun-3f72da9d0bba201fbfbedea9a357e76e6c93593f.tar.gz bun-3f72da9d0bba201fbfbedea9a357e76e6c93593f.tar.zst bun-3f72da9d0bba201fbfbedea9a357e76e6c93593f.zip |
Use Node 14 compatible syntax
Diffstat (limited to 'integration/scripts/browser.js')
-rw-r--r-- | integration/scripts/browser.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration/scripts/browser.js b/integration/scripts/browser.js index f198dba7d..e4512714b 100644 --- a/integration/scripts/browser.js +++ b/integration/scripts/browser.js @@ -42,7 +42,7 @@ if (!USE_EXISTING_PROCESS) { }); }); process.on("beforeExit", () => { - bunProcess?.kill(0); + bunProcess && bunProcess.kill(0); }); } const isDebug = bunExec.endsWith("-debug"); |