summaryrefslogtreecommitdiff
path: root/fs/path/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/path/constants.ts')
-rw-r--r--fs/path/constants.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/path/constants.ts b/fs/path/constants.ts
index b440be9cc..ce121f9ac 100644
--- a/fs/path/constants.ts
+++ b/fs/path/constants.ts
@@ -3,8 +3,6 @@
import { platform } from "deno";
-const isWindows = platform.os === "win";
-
// Alphabet chars.
export const CHAR_UPPERCASE_A = 65; /* A */
export const CHAR_LOWERCASE_A = 97; /* a */
@@ -50,4 +48,5 @@ export const CHAR_EQUAL = 61; /* = */
export const CHAR_0 = 48; /* 0 */
export const CHAR_9 = 57; /* 9 */
+export const isWindows = platform.os === "win";
export const EOL = isWindows ? "\r\n" : "\n";