diff options
Diffstat (limited to 'runtime/js/01_errors.js')
-rw-r--r-- | runtime/js/01_errors.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/js/01_errors.js b/runtime/js/01_errors.js index 0c54f6581..fb88f735b 100644 --- a/runtime/js/01_errors.js +++ b/runtime/js/01_errors.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 { BadResource, Interrupted } = core; -const primordials = globalThis.__bootstrap.primordials; const { Error } = primordials; class NotFound extends Error { |