diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 14:58:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 14:58:08 +0100 |
commit | 909986fa6ed3404e76590438b387391a6c213e46 (patch) | |
tree | 30eec861847dccadd83fcc65b91dc44c96af6d9e /ext/node/polyfills/os.ts | |
parent | aed5e4997df26c99a186fb9a5b18da3bbc594ed3 (diff) |
refactor: migrate 'ext/node' extension to virtual ops module (#22157)
Follow up to https://github.com/denoland/deno/pull/22135
Diffstat (limited to 'ext/node/polyfills/os.ts')
-rw-r--r-- | ext/node/polyfills/os.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/node/polyfills/os.ts b/ext/node/polyfills/os.ts index f95ea1cc8..bc88b0601 100644 --- a/ext/node/polyfills/os.ts +++ b/ext/node/polyfills/os.ts @@ -23,13 +23,12 @@ // TODO(petamoriken): enable prefer-primordials for node polyfills // deno-lint-ignore-file prefer-primordials -import { core } from "ext:core/mod.js"; -const { +import { op_cpus, op_node_os_get_priority, op_node_os_set_priority, op_node_os_username, -} = core.ensureFastOps(); +} from "ext:core/ops"; import { validateIntegerRange } from "ext:deno_node/_utils.ts"; import process from "node:process"; |