提交 c2cb72d8 编写于 作者: I isidor

debug: fix type when executing add configurations command

fixes #22118
上级 88f93575
......@@ -52,7 +52,7 @@ export class StartDebugActionItem extends EventEmitter implements IActionItem {
this.toDispose.push(this.selectBox.onDidSelect(configurationName => {
if (configurationName === StartDebugActionItem.ADD_CONFIGURATION) {
this.selectBox.select(this.debugService.getConfigurationManager().getConfigurationNames().indexOf(this.debugService.getViewModel().selectedConfigurationName));
this.commandService.executeCommand('debug.addConfiguratoin').done(undefined, errors.onUnexpectedError);
this.commandService.executeCommand('debug.addConfiguration').done(undefined, errors.onUnexpectedError);
} else {
this.debugService.getViewModel().setSelectedConfigurationName(configurationName);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册