mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
GitHub - only prompt once to authenticate in the avatar provider (#249785)
This commit is contained in:
@@ -77,7 +77,7 @@ export async function getOctokitGraphql(): Promise<graphql> {
|
||||
})
|
||||
.then(null, async err => {
|
||||
_octokitGraphql = undefined;
|
||||
throw err;
|
||||
throw new AuthenticationError(err.message);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,6 @@ export class GitHubSourceControlHistoryItemDetailsProvider implements SourceCont
|
||||
return undefined;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
const logs = { cached: 0, email: 0, github: 0, incomplete: 0 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user