summaryrefslogtreecommitdiff
path: root/runtime/js/40_fs_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_fs_events.js')
-rw-r--r--runtime/js/40_fs_events.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index a0495540c..2140f29eb 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -23,6 +23,7 @@ class FsWatcher {
constructor(paths, options) {
if (internals.future) {
ObjectDefineProperty(this, "rid", {
+ __proto__: null,
enumerable: false,
value: undefined,
});
@@ -79,7 +80,7 @@ class FsWatcher {
function watchFs(
paths,
- options = { recursive: true },
+ options = { __proto__: null, recursive: true },
) {
return new FsWatcher(ArrayIsArray(paths) ? paths : [paths], options);
}