Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index 10e243dc89..0aa998db62 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -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 {