diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-09-06 10:05:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 10:05:33 -0400 |
commit | c132c8690bc92fa306b2082992f3b7108e5a4c9e (patch) | |
tree | df152f94815b8ace8fd99696d003eb8adef06d53 /tools | |
parent | b7c2902c9752e83dc467ce6a812dab4726f200d9 (diff) |
BREAKING(unstable): Remove Deno.Signals enum, Deno.signals.* (#11909)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wpt/runner.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts index 27b94da1f..4f4389fd3 100644 --- a/tools/wpt/runner.ts +++ b/tools/wpt/runner.ts @@ -31,7 +31,7 @@ export async function runWithTestUtil<T>( } const passedTime = performance.now() - start; if (passedTime > 15000) { - proc.kill(2); + proc.kill("SIGINT"); await proc.status(); proc.close(); throw new Error("Timed out while trying to start wpt test util."); @@ -44,7 +44,7 @@ export async function runWithTestUtil<T>( return await f(); } finally { if (verbose) console.log("Killing wpt test util."); - proc.kill(2); + proc.kill("SIGINT"); await proc.status(); proc.close(); } |