mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:04:14 +08:00
fixes #12121
This commit is contained in:
parent
fc89088ff7
commit
fc7de67c4e
@ -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> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user