mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
fix: config substitution failing extension activation
This commit is contained in:
parent
e86bac92f4
commit
e6ad8a2edc
@ -268,8 +268,6 @@ export function substituteVSCodeVariables<T>(resp: T): T {
|
||||
res[key] = substituteVSCodeVariables(val);
|
||||
}
|
||||
return res as T;
|
||||
} else if (Is.func(resp)) {
|
||||
throw new Error("Unexpected function type in substitution");
|
||||
}
|
||||
return resp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user