From f12acdb50bd6afae21d8d033548c012d23ec2791 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Sun, 8 Sep 2019 01:27:18 +0900 Subject: Update @typescript-eslint/* to v2.1.0 (#2878) --- js/blob.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/blob.ts') diff --git a/js/blob.ts b/js/blob.ts index 4c86f1f24..50ab7f374 100644 --- a/js/blob.ts +++ b/js/blob.ts @@ -7,7 +7,7 @@ import { build } from "./build.ts"; export const bytesSymbol = Symbol("bytes"); function convertLineEndingsToNative(s: string): string { - let nativeLineEnd = build.os == "win" ? "\r\n" : "\n"; + const nativeLineEnd = build.os == "win" ? "\r\n" : "\n"; let position = 0; @@ -19,7 +19,7 @@ function convertLineEndingsToNative(s: string): string { let result = token; while (position < s.length) { - let c = s.charAt(position); + const c = s.charAt(position); if (c == "\r") { result += nativeLineEnd; position++; -- cgit v1.2.3