From 7cfabadb611e615ac51ee7b2abe5cebd99c6a113 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Mon, 6 May 2019 16:10:59 -0400 Subject: [PATCH] Adding missing else clause --- src/github/githubRepository.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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;