Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/src/config.ts')
-rw-r--r--editors/code/src/config.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index ce1142df3a..114abf062b 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -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;
}