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

@@ -207,8 +207,8 @@ export function loadSourcemaps(): NodeJS.ReadWriteStream {
const contents = (<Buffer>f.contents).toString('utf8');
const reg = /\/\/# sourceMappingURL=(.*)$/g;
let lastMatch: RegExpMatchArray | null = null;
let match: RegExpMatchArray | null = null;
let lastMatch: RegExpExecArray | null = null;
let match: RegExpExecArray | null = null;
while (match = reg.exec(contents)) {
lastMatch = match;