Skip to content

Commit 8271243

Browse files
committed
config: allow asking for input even in an empty workspace
This behavior dates from when inputs were first added (#63910). I don't think this does much anymore -- if a config is not found in the requested section, undefined is returned anyway, and aborting early doesn't get us much. Fixes #245707
1 parent 4d5a480 commit 8271243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export abstract class BaseConfigurationResolverService extends AbstractVariableR
198198
}
199199

200200
private async resolveInputs(folder: IWorkspaceFolderData | undefined, section: string, target?: ConfigurationTarget): Promise<ConfiguredInput[] | undefined> {
201-
if (this.workspaceContextService.getWorkbenchState() === WorkbenchState.EMPTY || !section) {
201+
if (!section) {
202202
return undefined;
203203
}
204204

0 commit comments

Comments
 (0)