Skip to content

Commit 0bc5021

Browse files
Merge pull request #1145 from Microsoft/avatar-detection-bugfix
Adding missing else clause
2 parents 8bc541c + 7cfabad commit 0bc5021

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/github/githubRepository.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ export class GitHubRepository implements IGitHubRepository, vscode.Disposable {
227227
if (response && response.status === 200) {
228228
this._repositoryReturnsAvatar = true;
229229
}
230-
231-
this._repositoryReturnsAvatar = false;
230+
else {
231+
this._repositoryReturnsAvatar = false;
232+
}
232233
}
233234

234235
return this._repositoryReturnsAvatar;

0 commit comments

Comments
 (0)