diff options
| author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-03-07 23:07:12 +0900 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-07 09:07:12 -0500 |
| commit | 31f684e71b5c5b0b22e57b0e8bdc50356f8eea09 (patch) | |
| tree | 75d76af260ec09f9afed2fad2c526d823a7fec91 /fs/path/constants.ts | |
| parent | caa383a5835c167bf6657120ad3c1c5009670785 (diff) | |
Bump CI to v0.3.2 (denoland/deno_std#245)
replace Deno.platform with Deno.build
Original: https://github.com/denoland/deno_std/commit/c67751659c50a3c0be5952e3092de7943aa9fa54
Diffstat (limited to 'fs/path/constants.ts')
| -rw-r--r-- | fs/path/constants.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/path/constants.ts b/fs/path/constants.ts index cfba4ebd8..d70bb8073 100644 --- a/fs/path/constants.ts +++ b/fs/path/constants.ts @@ -1,7 +1,7 @@ // Copyright the Browserify authors. MIT License. // Ported from https://github.com/browserify/path-browserify/ -const { platform } = Deno; +const { build } = Deno; // Alphabet chars. export const CHAR_UPPERCASE_A = 65; /* A */ @@ -48,5 +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 isWindows = build.os === "win"; export const EOL = isWindows ? "\r\n" : "\n"; |
