From 909986fa6ed3404e76590438b387391a6c213e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Jan 2024 14:58:08 +0100 Subject: refactor: migrate 'ext/node' extension to virtual ops module (#22157) Follow up to https://github.com/denoland/deno/pull/22135 --- ext/node/polyfills/async_hooks.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/node/polyfills/async_hooks.ts') diff --git a/ext/node/polyfills/async_hooks.ts b/ext/node/polyfills/async_hooks.ts index f2733e92d..e69bc88aa 100644 --- a/ext/node/polyfills/async_hooks.ts +++ b/ext/node/polyfills/async_hooks.ts @@ -8,9 +8,7 @@ // deno-lint-ignore-file prefer-primordials import { core } from "ext:core/mod.js"; -const { - op_node_is_promise_rejected, -} = core.ensureFastOps(); +import { op_node_is_promise_rejected } from "ext:core/ops"; import { validateFunction } from "ext:deno_node/internal/validators.mjs"; function assert(cond: boolean) { -- cgit v1.2.3