summaryrefslogtreecommitdiff
path: root/std/path/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/path/constants.ts')
-rw-r--r--std/path/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/path/constants.ts b/std/path/constants.ts
index 1e1eeeb49..97d3bcf58 100644
--- a/std/path/constants.ts
+++ b/std/path/constants.ts
@@ -48,7 +48,7 @@ export const CHAR_EQUAL = 61; /* = */
export const CHAR_0 = 48; /* 0 */
export const CHAR_9 = 57; /* 9 */
-export const isWindows = build.os === "win";
+export const isWindows = build.os === "windows";
export const EOL = isWindows ? "\r\n" : "\n";
export const SEP = isWindows ? "\\" : "/";
export const SEP_PATTERN = isWindows ? /[\\/]+/ : /\/+/;