mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 04:09:28 +00:00
committed by
GitHub
parent
f1eae1a44d
commit
0091bcae20
@@ -163,7 +163,7 @@ export class GitHubServer implements IGitHubServer {
|
|||||||
}
|
}
|
||||||
const message = userCancelled
|
const message = userCancelled
|
||||||
? vscode.l10n.t('Having trouble logging in? Would you like to try a different way?')
|
? 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);
|
const result = await vscode.window.showWarningMessage(message, yes, no);
|
||||||
if (result !== yes) {
|
if (result !== yes) {
|
||||||
throw new Error('Cancelled');
|
throw new Error('Cancelled');
|
||||||
|
|||||||
Reference in New Issue
Block a user