summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_util/os.ts
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2023-12-08 18:00:03 +0900
committerGitHub <noreply@github.com>2023-12-08 18:00:03 +0900
commitb24356d9b9827062bee35e720b5889a403ae89f3 (patch)
treedcbad198c448550dec1e79c9f26d3f79c4c6ec13 /ext/node/polyfills/_util/os.ts
parent3a74fa60ca948b0bc1608ae0ad6e00236ccc846a (diff)
fix(ext/node): use primordials in ext/node/polyfills/_util (#21444)
Diffstat (limited to 'ext/node/polyfills/_util/os.ts')
-rw-r--r--ext/node/polyfills/_util/os.ts3
1 files changed, 2 insertions, 1 deletions
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";