From 31f684e71b5c5b0b22e57b0e8bdc50356f8eea09 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Thu, 7 Mar 2019 23:07:12 +0900 Subject: 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 --- fs/path/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs/path/constants.ts') 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"; -- cgit v1.2.3