summaryrefslogtreecommitdiff
path: root/cli/js/web/blob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/web/blob.ts')
-rw-r--r--cli/js/web/blob.ts2
1 files changed, 1 insertions, 1 deletions
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;