From e6ad8a2edcbe5e9614f71308d43f6fb0cbf7ceef Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Wed, 25 Jan 2023 09:17:49 +0100 Subject: [PATCH] fix: config substitution failing extension activation --- editors/code/src/config.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index ce1142df3a8..114abf062b9 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -268,8 +268,6 @@ export function substituteVSCodeVariables(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; }