diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-12-08 13:03:25 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 08:33:25 +0100 |
commit | c5c5dea90debcc5ec53b4803ca530558df32e43f (patch) | |
tree | 2bd0483edd0a921802999429d6501ecb59bed3ef /runtime/js/30_os.js | |
parent | 2235a1a359ffabd72689db58b9af5873e0a9b38a (diff) |
chore: use primordials in 40_testing.js (#21422)
This commit brings back usage of primordials in "40_testing.js" by
turning it back into an ES module and using new "lazy loading" functionality
of ES modules coming from "deno_core".
The same approach was applied to "40_jupyter.js".
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/js/30_os.js')
-rw-r--r-- | runtime/js/30_os.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js index 5bc96e54b..f6d655633 100644 --- a/runtime/js/30_os.js +++ b/runtime/js/30_os.js @@ -1,6 +1,6 @@ // Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. -import { core, internals, primordials } from "ext:core/mod.js"; +import { core, primordials } from "ext:core/mod.js"; const ops = core.ops; import { Event, EventTarget } from "ext:deno_web/02_event.js"; const { @@ -105,8 +105,6 @@ function execPath() { return ops.op_exec_path(); } -internals.setExitHandler = setExitHandler; - export { env, execPath, |