summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/child_process.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-04-20 13:24:28 +0900
committerGitHub <noreply@github.com>2023-04-20 13:24:28 +0900
commitf5202840818cade33c65c0ae6c2ac17fb5732229 (patch)
tree6885fa0e677a947b3c2ab21f3cc71138e77b8093 /ext/node/polyfills/child_process.ts
parent02da57e2759a7521d53e28f7fb3fc0a268406b82 (diff)
refactor(ext/node): remove polyfills/_core.ts (#18766)
Diffstat (limited to 'ext/node/polyfills/child_process.ts')
-rw-r--r--ext/node/polyfills/child_process.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/node/polyfills/child_process.ts b/ext/node/polyfills/child_process.ts
index 5ca760ed0..f731a0bf1 100644
--- a/ext/node/polyfills/child_process.ts
+++ b/ext/node/polyfills/child_process.ts
@@ -2,7 +2,6 @@
// This module implements 'child_process' module of Node.JS API.
// ref: https://nodejs.org/api/child_process.html
-import { core } from "ext:deno_node/_core.ts";
import {
ChildProcess,
ChildProcessOptions,
@@ -44,6 +43,8 @@ import {
kEmptyObject,
} from "ext:deno_node/internal/util.mjs";
+const { core } = globalThis.__bootstrap;
+
const MAX_BUFFER = 1024 * 1024;
type ForkOptions = ChildProcessOptions;