From eddb916883901385233bea24313e2920fcac5388 Mon Sep 17 00:00:00 2001 From: Ali Hasani Date: Sun, 17 May 2020 21:41:24 +0430 Subject: Implement Deno.kill for windows (#5347) --- cli/js/ops/process.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/js/ops/process.ts') diff --git a/cli/js/ops/process.ts b/cli/js/ops/process.ts index 4fba4d2de..39c6eb8b7 100644 --- a/cli/js/ops/process.ts +++ b/cli/js/ops/process.ts @@ -1,12 +1,8 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { sendSync, sendAsync } from "./dispatch_json.ts"; import { assert } from "../util.ts"; -import { build } from "../build.ts"; export function kill(pid: number, signo: number): void { - if (build.os === "windows") { - throw new Error("Not yet implemented"); - } sendSync("op_kill", { pid, signo }); } -- cgit v1.2.3