提交 64e3c014 编写于 作者: I isidor

debug: do not allow configurations with no name to appear in dropdown

上级 ac630b9b
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册