mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 11:19:32 +00:00
committed by
GitHub
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');
|
||||
|
||||
Reference in New Issue
Block a user