Skip to content

Commit e05df93

Browse files
committedOct 20, 2022
Workaround the python vscode extension's polyfill
1 parent f3cce5f commit e05df93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎editors/code/src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class Config {
191191
const VarRegex = new RegExp(/\$\{(.+?)\}/g);
192192

193193
export function substituteVSCodeVariableInString(val: string): string {
194-
return val.replaceAll(VarRegex, (substring: string, varName) => {
194+
return val.replace(VarRegex, (substring: string, varName) => {
195195
if (typeof varName === "string") {
196196
return computeVscodeVar(varName) || substring;
197197
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.