Skip to content

Commit b0ebcf5

Browse files
authored
fix: support Deno 1.14 (#33)
1 parent e024456 commit b0ebcf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM debian:buster-slim
22

3-
ENV DENO_VERSION=1.10.2
3+
ENV DENO_VERSION=1.14.2
44
ARG DEBIAN_FRONTEND=noninteractive
55

66
RUN apt-get -qq update \

src/deno/BrowserRunner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class BrowserRunner {
124124
// `proc.kill` would error, as the `pid` to-be-killed can not be found.
125125
if (this.proc && this.proc.pid && !this._closed) {
126126
try {
127-
this.proc.kill(9);
127+
this.proc.kill("SIGKILL");
128128
} catch (error) {
129129
throw new Error(
130130
`${PROCESS_ERROR_EXPLANATION}\nError cause: ${error.stack}`

0 commit comments

Comments
 (0)