mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-03 23:39:31 +00:00
fixes #44553
This commit is contained in:
@@ -363,10 +363,10 @@ export class ConfigurationManager implements IConfigurationManager {
|
||||
|
||||
private initLaunches(): void {
|
||||
this.launches = this.contextService.getWorkspace().folders.map(folder => this.instantiationService.createInstance(Launch, this, folder));
|
||||
this.launches.push(this.instantiationService.createInstance(UserLaunch, this));
|
||||
if (this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) {
|
||||
this.launches.push(this.instantiationService.createInstance(WorkspaceLaunch, this));
|
||||
}
|
||||
this.launches.push(this.instantiationService.createInstance(UserLaunch, this));
|
||||
|
||||
if (this.launches.indexOf(this.selectedLaunch) === -1) {
|
||||
this.selectedLaunch = undefined;
|
||||
|
||||
Reference in New Issue
Block a user