mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
debt - use dialog service over bare windows service
This commit is contained in:
@@ -119,7 +119,7 @@ export class MainThreadMessageService implements MainThreadMessageServiceShape {
|
||||
cancelId = buttons.length - 1;
|
||||
}
|
||||
|
||||
return this._dialogService.show(severity, message, buttons, cancelId)
|
||||
return this._dialogService.show(severity, message, buttons, { cancelId })
|
||||
.then(result => result === commands.length ? undefined : commands[result].handle);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user