diff --git a/src/github/githubRepository.ts b/src/github/githubRepository.ts index 4471dbdf3b..5b6d42bc9b 100644 --- a/src/github/githubRepository.ts +++ b/src/github/githubRepository.ts @@ -227,8 +227,9 @@ export class GitHubRepository implements IGitHubRepository, vscode.Disposable { if (response && response.status === 200) { this._repositoryReturnsAvatar = true; } - - this._repositoryReturnsAvatar = false; + else { + this._repositoryReturnsAvatar = false; + } } return this._repositoryReturnsAvatar;