From 3f72da9d0bba201fbfbedea9a357e76e6c93593f Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Tue, 21 Dec 2021 21:56:49 -0800 Subject: Use Node 14 compatible syntax --- integration/scripts/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integration/scripts/browser.js') 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"); -- cgit v1.2.3