summaryrefslogtreecommitdiff
path: root/runtime/js/40_fs_events.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-16 09:28:35 +1000
committerGitHub <noreply@github.com>2024-09-16 09:28:35 +1000
commite4ea9be87463ce1b13e826db80452b17a9762f32 (patch)
tree6f7aa2881fb8dbf08a0ebc99dfc2c85eb3a73d15 /runtime/js/40_fs_events.js
parenta666c8c9f92d87e7a3b4d4e06fdc027b3bf9663e (diff)
chore: cleanup remaining `internals.future` code (#25624)
Diffstat (limited to 'runtime/js/40_fs_events.js')
-rw-r--r--runtime/js/40_fs_events.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index 2140f29eb..a1c40c5e5 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -11,7 +11,6 @@ const {
ObjectPrototypeIsPrototypeOf,
PromiseResolve,
SymbolAsyncIterator,
- ObjectDefineProperty,
} = primordials;
import { SymbolDispose } from "ext:deno_web/00_infra.js";
@@ -21,13 +20,6 @@ class FsWatcher {
#promise;
constructor(paths, options) {
- if (internals.future) {
- ObjectDefineProperty(this, "rid", {
- __proto__: null,
- enumerable: false,
- value: undefined,
- });
- }
const { recursive } = options;
this.#rid = op_fs_events_open({ recursive, paths });
}