diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-12-08 18:00:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 18:00:03 +0900 |
commit | b24356d9b9827062bee35e720b5889a403ae89f3 (patch) | |
tree | dcbad198c448550dec1e79c9f26d3f79c4c6ec13 /ext/node/polyfills/_util/os.ts | |
parent | 3a74fa60ca948b0bc1608ae0ad6e00236ccc846a (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.ts | 3 |
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"; |