Pick up latest TS for building VS Code (#158420)

This commit is contained in:
Matt Bierner
2022-08-26 14:00:38 -07:00
committed by GitHub
parent f5ef1c2661
commit b5a1bb34e9
6 changed files with 12 additions and 12 deletions

View File

@@ -427,7 +427,7 @@ export class Git {
let previousProgress = 0;
lineStream.on('data', (line: string) => {
let match: RegExpMatchArray | null = null;
let match: RegExpExecArray | null = null;
if (match = /Counting objects:\s*(\d+)%/i.exec(line)) {
totalProgress = Math.floor(parseInt(match[1]) * 0.1);