summaryrefslogtreecommitdiff
path: root/cli/js/ops/process.ts
diff options
context:
space:
mode:
authorAli Hasani <a.hassssani@gmail.com>2020-05-17 21:41:24 +0430
committerGitHub <noreply@github.com>2020-05-17 19:11:24 +0200
commiteddb916883901385233bea24313e2920fcac5388 (patch)
tree0dbde6a34037b1c2b2459077731cb9afdc5b3a35 /cli/js/ops/process.ts
parenta054250a2cd709f74a3c9984af0cb74b7adde3bd (diff)
Implement Deno.kill for windows (#5347)
Diffstat (limited to 'cli/js/ops/process.ts')
-rw-r--r--cli/js/ops/process.ts4
1 files changed, 0 insertions, 4 deletions
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 });
}