diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2023-04-20 13:24:28 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 13:24:28 +0900 |
commit | f5202840818cade33c65c0ae6c2ac17fb5732229 (patch) | |
tree | 6885fa0e677a947b3c2ab21f3cc71138e77b8093 /ext/node/polyfills/async_hooks.ts | |
parent | 02da57e2759a7521d53e28f7fb3fc0a268406b82 (diff) |
refactor(ext/node): remove polyfills/_core.ts (#18766)
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"); |