GitHub - only prompt once to authenticate in the avatar provider (#249785)

This commit is contained in:
Ladislau Szomoru
2025-05-26 10:30:03 +02:00
committed by GitHub
parent 74a3f54c07
commit e806b1ba01
2 changed files with 1 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ export async function getOctokitGraphql(): Promise<graphql> {
})
.then(null, async err => {
_octokitGraphql = undefined;
throw err;
throw new AuthenticationError(err.message);
});
}

View File

@@ -117,7 +117,6 @@ export class GitHubSourceControlHistoryItemDetailsProvider implements SourceCont
return undefined;
}
try {
const logs = { cached: 0, email: 0, github: 0, incomplete: 0 };