From b24356d9b9827062bee35e720b5889a403ae89f3 Mon Sep 17 00:00:00 2001 From: Kenta Moriuchi Date: Fri, 8 Dec 2023 18:00:03 +0900 Subject: fix(ext/node): use primordials in ext/node/polyfills/_util (#21444) --- ext/node/polyfills/_util/os.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ext/node/polyfills/_util/os.ts') diff --git a/ext/node/polyfills/_util/os.ts b/ext/node/polyfills/_util/os.ts index ff5e2efd5..49fde7613 100644 --- a/ext/node/polyfills/_util/os.ts +++ b/ext/node/polyfills/_util/os.ts @@ -1,6 +1,7 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -const { ops } = globalThis.__bootstrap.core; +import { core } from "ext:core/mod.js"; +const ops = core.ops; export type OSType = "windows" | "linux" | "darwin" | "freebsd" | "openbsd"; -- cgit v1.2.3