Auto merge of #14023 - Veykril:config-sub-fix, r=Veykril
fix: config substitution failing extension activation Closes https://github.com/rust-lang/rust-analyzer/issues/14022 Not sure how a function can appear there, but there is also no reason for us to care about it anyways.
This commit is contained in:
commit
8bf338f2c8
@ -268,8 +268,6 @@ export function substituteVSCodeVariables<T>(resp: T): T {
|
|||||||
res[key] = substituteVSCodeVariables(val);
|
res[key] = substituteVSCodeVariables(val);
|
||||||
}
|
}
|
||||||
return res as T;
|
return res as T;
|
||||||
} else if (Is.func(resp)) {
|
|
||||||
throw new Error("Unexpected function type in substitution");
|
|
||||||
}
|
}
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user