diff options
Diffstat (limited to 'ext/node/polyfills/async_hooks.ts')
-rw-r--r-- | ext/node/polyfills/async_hooks.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/node/polyfills/async_hooks.ts b/ext/node/polyfills/async_hooks.ts index 8111af73b..d2c939000 100644 --- a/ext/node/polyfills/async_hooks.ts +++ b/ext/node/polyfills/async_hooks.ts @@ -5,7 +5,8 @@ // https://github.com/cloudflare/workerd/blob/77fd0ed6ddba184414f0216508fc62b06e716cab/src/workerd/api/node/async-hooks.c++#L9 import { validateFunction } from "ext:deno_node/internal/validators.mjs"; -import { core } from "ext:deno_node/_core.ts"; + +const { core } = globalThis.__bootstrap; function assert(cond: boolean) { if (!cond) throw new Error("Assertion failed"); |