debug: do not allow configurations with no name to appear in dropdown
This commit is contained in:
parent
ac630b9b38
commit
64e3c01410
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export class DebugSelectActionItem extends SelectActionItem {
|
|||
return changeDebugConfiguration ? this.actionRunner.run(this._action, null) : null;
|
||||
}
|
||||
|
||||
const configurationNames = config.configurations.map(cfg => cfg.name);
|
||||
const configurationNames = config.configurations.filter(cfg => !!cfg.name).map(cfg => cfg.name);
|
||||
const configurationName = this.debugService.getConfigurationManager().configurationName;
|
||||
let selected = configurationNames.indexOf(configurationName);
|
||||
|
||||
|
|
Loading…
Reference in a new issue