mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 13:33:31 +00:00
Workaround the python vscode extension's polyfill
This commit is contained in:
parent
f3cce5feea
commit
e05df93b8e
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue