Workaround the python vscode extension's polyfill

This commit is contained in:
Yotam Ofek 2022-10-20 17:56:51 +00:00
parent f3cce5feea
commit e05df93b8e

View file

@ -191,7 +191,7 @@ export class Config {
const VarRegex = new RegExp(/\$\{(.+?)\}/g);
export function substituteVSCodeVariableInString(val: string): string {
return val.replaceAll(VarRegex, (substring: string, varName) => {
return val.replace(VarRegex, (substring: string, varName) => {
if (typeof varName === "string") {
return computeVscodeVar(varName) || substring;
} else {