From 345423cf7697326258ce8b32f681910f4a2f77de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Jan 2024 22:02:26 +0100 Subject: refactor: Use virtul ops module (#22175) Follow up to #22157. This leaves us with 4 usages of `ensureFastOps()` in `deno` itself. There's also about 150 usages of `Deno.core.ops.` left as well. --- ext/fs/30_fs.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ext/fs') diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js index 7d2f848d2..9343b6ec4 100644 --- a/ext/fs/30_fs.js +++ b/ext/fs/30_fs.js @@ -6,6 +6,7 @@ const { internalRidSymbol, } = core; import { + op_cancel_handle, op_fs_chdir, op_fs_chmod_async, op_fs_chmod_sync, @@ -72,9 +73,6 @@ import { op_fs_write_file_async, op_fs_write_file_sync, } from "ext:core/ops"; -const { - op_cancel_handle, -} = core.ensureFastOps(true); const { ArrayPrototypeFilter, Date, -- cgit v1.2.3