Fix regex

This commit is contained in:
Sheetal Nandi committed 2022-05-06 13:57:04 -07:00
1 parent 5dfdbdb136
commit dfbed67fd9
1 file changed
+1 -1
+1 -1
View File
@@ -109,7 +109,7 @@ namespace ts.projectSystem {
.replace(/getExportInfoMap: done in \d+(?:\.\d+)?/g, `getExportInfoMap: done in *`)
.replace(/collectAutoImports: \d+(?:\.\d+)?/g, `collectAutoImports: *`)
.replace(/dependencies in \d+(?:\.\d+)?/g, `dependencies in *`)
.replace(/\"exportMapKey\"\:\"\w(\w|\d)*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`))
.replace(/\"exportMapKey\"\:\"[_$a-zA-Z][_$_$a-zA-Z0-9]*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`))
)
};
}