diff options
Diffstat (limited to 'runtime/js/40_fs_events.js')
-rw-r--r-- | runtime/js/40_fs_events.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js index 939d3ac7b..8027c27eb 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.js @@ -3,6 +3,7 @@ ((window) => { const core = window.Deno.core; + const ops = core.ops; const { BadResourcePrototype, InterruptedPrototype } = core; const { ArrayIsArray, @@ -15,7 +16,7 @@ constructor(paths, options) { const { recursive } = options; - this.#rid = core.opSync("op_fs_events_open", { recursive, paths }); + this.#rid = ops.op_fs_events_open({ recursive, paths }); } get rid() { |