Browse Source

Fixes missing return

main
Eric Amodio 2 years ago
parent
commit
5a3e6a4e18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/git/models/commit.ts

+ 1
- 1
src/git/models/commit.ts View File

@ -500,7 +500,7 @@ export class GitCommitIdentity {
commit: GitCommit, commit: GitCommit,
options?: { defaultStyle?: GravatarDefaultStyle; size?: number }, options?: { defaultStyle?: GravatarDefaultStyle; size?: number },
): Uri | Promise<Uri> { ): Uri | Promise<Uri> {
if (this.avatarUrl != null) Uri.parse(this.avatarUrl);
if (this.avatarUrl != null) return Uri.parse(this.avatarUrl);
return getAvatarUri(this.email, commit, options); return getAvatarUri(this.email, commit, options);
} }

Loading…
Cancel
Save