mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
fixes #12121
This commit is contained in:
@@ -147,7 +147,7 @@ export class RestartAction extends AbstractDebugAction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private setLabel(config: debug.IConfig): void {
|
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> {
|
public run(): TPromise<any> {
|
||||||
|
|||||||
Reference in New Issue
Block a user