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, 1 insertions, 2 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index b10f6fd10..c9d0f1feb 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -1,8 +1,7 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-const core = globalThis.Deno.core;
+import { core, primordials } from "ext:core/mod.js";
const { BadResourcePrototype, InterruptedPrototype, ops } = core;
-const primordials = globalThis.__bootstrap.primordials;
const {
ArrayIsArray,
ObjectPrototypeIsPrototypeOf,