Skip to content

Commit e6ad8a2

Browse files
committed
fix: config substitution failing extension activation
1 parent e86bac9 commit e6ad8a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

editors/code/src/config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,6 @@ export function substituteVSCodeVariables<T>(resp: T): T {
268268
res[key] = substituteVSCodeVariables(val);
269269
}
270270
return res as T;
271-
} else if (Is.func(resp)) {
272-
throw new Error("Unexpected function type in substitution");
273271
}
274272
return resp;
275273
}

0 commit comments

Comments
 (0)