mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
auto-fixed prefer-const violation
This commit is contained in:
@@ -51,7 +51,7 @@ export function getVersion(repo: string): string | undefined {
|
||||
|
||||
const refsRegex = /^([0-9a-f]{40})\s+(.+)$/gm;
|
||||
let refsMatch: RegExpExecArray | null;
|
||||
let refs: { [ref: string]: string } = {};
|
||||
const refs: { [ref: string]: string } = {};
|
||||
|
||||
while (refsMatch = refsRegex.exec(refsRaw)) {
|
||||
refs[refsMatch[2]] = refsMatch[1];
|
||||
|
||||
Reference in New Issue
Block a user