mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor(ext/node): remove polyfills/_core.ts (#18766)
This commit is contained in:
parent
02da57e275
commit
f520284081
7 changed files with 8 additions and 89 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue