diff options
Diffstat (limited to 'ext/node/polyfills/_fs')
-rw-r--r-- | ext/node/polyfills/_fs/_fs_cp.js | 6 | ||||
-rw-r--r-- | ext/node/polyfills/_fs/_fs_exists.ts | 5 |
2 files changed, 2 insertions, 9 deletions
diff --git a/ext/node/polyfills/_fs/_fs_cp.js b/ext/node/polyfills/_fs/_fs_cp.js index 283b4f542..0d8c4d644 100644 --- a/ext/node/polyfills/_fs/_fs_cp.js +++ b/ext/node/polyfills/_fs/_fs_cp.js @@ -2,11 +2,7 @@ // deno-lint-ignore-file prefer-primordials -import { core } from "ext:core/mod.js"; -const { - op_node_cp, - op_node_cp_sync, -} = core.ensureFastOps(); +import { op_node_cp, op_node_cp_sync } from "ext:core/ops"; import { getValidatedPath, diff --git a/ext/node/polyfills/_fs/_fs_exists.ts b/ext/node/polyfills/_fs/_fs_exists.ts index 3c22fc5b8..57df1f07c 100644 --- a/ext/node/polyfills/_fs/_fs_exists.ts +++ b/ext/node/polyfills/_fs/_fs_exists.ts @@ -3,10 +3,7 @@ // TODO(petamoriken): enable prefer-primordials for node polyfills // deno-lint-ignore-file prefer-primordials -import { core } from "ext:core/mod.js"; -const { - op_node_fs_exists_sync, -} = core.ensureFastOps(); +import { op_node_fs_exists_sync } from "ext:core/ops"; import { pathFromURL } from "ext:deno_web/00_infra.js"; |