diff options
Diffstat (limited to 'std/node/module.ts')
-rw-r--r-- | std/node/module.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/module.ts b/std/node/module.ts index 8969e80d9..f777e658f 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -36,7 +36,7 @@ const CHAR_FORWARD_SLASH = "/".charCodeAt(0); const CHAR_BACKWARD_SLASH = "\\".charCodeAt(0); const CHAR_COLON = ":".charCodeAt(0); -const isWindows = path.isWindows; +const isWindows = Deno.build.os == "windows"; const relativeResolveCache = Object.create(null); |