diff options
Diffstat (limited to 'extensions/git/src/encoding.ts')
-rw-r--r-- | extensions/git/src/encoding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/git/src/encoding.ts b/extensions/git/src/encoding.ts index ff3eddd8413..a283f628594 100644 --- a/extensions/git/src/encoding.ts +++ b/extensions/git/src/encoding.ts @@ -50,7 +50,7 @@ const JSCHARDET_TO_ICONV_ENCODINGS: { [name: string]: string } = { }; export function detectEncoding(buffer: Buffer): string | null { - let result = detectEncodingByBOM(buffer); + const result = detectEncodingByBOM(buffer); if (result) { return result; |