fix: config substitution failing extension activation

This commit is contained in:
Lukas Wirth
2023-01-25 09:17:49 +01:00
parent e86bac92f4
commit e6ad8a2edc

View File

@@ -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;
} }