mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
parent
f1eae1a44d
commit
0091bcae20
|
@ -163,7 +163,7 @@ export class GitHubServer implements IGitHubServer {
|
|||
}
|
||||
const message = userCancelled
|
||||
? vscode.l10n.t('Having trouble logging in? Would you like to try a different way?')
|
||||
: vscode.l10n.t('otherReasonMessage', 'You have not yet finished authorizing this extension to use GitHub. Would you like to keep trying?');
|
||||
: vscode.l10n.t('You have not yet finished authorizing this extension to use GitHub. Would you like to keep trying?');
|
||||
const result = await vscode.window.showWarningMessage(message, yes, no);
|
||||
if (result !== yes) {
|
||||
throw new Error('Cancelled');
|
||||
|
|
Loading…
Reference in a new issue