summaryrefslogtreecommitdiff
path: root/runtime/js/30_os.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/30_os.js')
-rw-r--r--runtime/js/30_os.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/js/30_os.js b/runtime/js/30_os.js
index b35f34e1a..8948cf1ad 100644
--- a/runtime/js/30_os.js
+++ b/runtime/js/30_os.js
@@ -1,7 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
-import { core, primordials } from "ext:core/mod.js";
-const {
+import { primordials } from "ext:core/mod.js";
+import {
op_delete_env,
op_env,
op_exec_path,
@@ -14,12 +14,10 @@ const {
op_os_release,
op_os_uptime,
op_set_env,
+ op_set_exit_code,
op_system_memory_info,
op_uid,
-} = core.ensureFastOps();
-const {
- op_set_exit_code,
-} = core.ensureFastOps(true);
+} from "ext:core/ops";
const {
Error,
FunctionPrototypeBind,