summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/child_process.ts
diff options
context:
space:
mode:
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;