summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/internal/constants.ts')
-rw-r--r--ext/node/polyfills/internal/constants.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/node/polyfills/internal/constants.ts b/ext/node/polyfills/internal/constants.ts
index 59f326883..521cea987 100644
--- a/ext/node/polyfills/internal/constants.ts
+++ b/ext/node/polyfills/internal/constants.ts
@@ -1,8 +1,7 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
-const { ops } = globalThis.__bootstrap.core;
-const isWindows = ops.op_node_build_os() === "windows";
+import { isWindows } from "ext:deno_node/_util/os.ts";
// Alphabet chars.
export const CHAR_UPPERCASE_A = 65; /* A */