summaryrefslogtreecommitdiff
path: root/std/node/module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/node/module.ts')
-rw-r--r--std/node/module.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/node/module.ts b/std/node/module.ts
index c8c02bad3..597da09db 100644
--- a/std/node/module.ts
+++ b/std/node/module.ts
@@ -34,13 +34,12 @@ import * as nodeUtil from "./util.ts";
import * as path from "../path/mod.ts";
import { assert } from "../_util/assert.ts";
import { fileURLToPath, pathToFileURL } from "./url.ts";
+import { isWindows } from "../_util/os.ts";
const CHAR_FORWARD_SLASH = "/".charCodeAt(0);
const CHAR_BACKWARD_SLASH = "\\".charCodeAt(0);
const CHAR_COLON = ":".charCodeAt(0);
-const isWindows = Deno.build.os == "windows";
-
const relativeResolveCache = Object.create(null);
let requireDepth = 0;