mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 04:23:32 +01:00
fixes #12121
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user