This commit is contained in:
isidor
2016-09-19 16:57:04 +02:00
parent fc89088ff7
commit fc7de67c4e

View File

@@ -147,7 +147,7 @@ export class RestartAction extends AbstractDebugAction {
}
private setLabel(config: debug.IConfig): void {
this.updateLabel(config.request === 'attach' ? RestartAction.RECONNECT_LABEL : RestartAction.LABEL);
this.updateLabel(config && config.request === 'attach' ? RestartAction.RECONNECT_LABEL : RestartAction.LABEL);
}
public run(): TPromise<any> {