From e0ca60e7707b5896ce67301aefd1de4a76e3cf75 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 28 Apr 2020 12:35:23 -0400 Subject: BREAKING: Use LLVM target triple for Deno.build (#4948) Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin" --- cli/js/web/blob.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/web') diff --git a/cli/js/web/blob.ts b/cli/js/web/blob.ts index d30bb7e38..546ea7e82 100644 --- a/cli/js/web/blob.ts +++ b/cli/js/web/blob.ts @@ -13,7 +13,7 @@ export function containsOnlyASCII(str: string): boolean { } function convertLineEndingsToNative(s: string): string { - const nativeLineEnd = build.os == "win" ? "\r\n" : "\n"; + const nativeLineEnd = build.os == "windows" ? "\r\n" : "\n"; let position = 0; -- cgit v1.2.3