瀏覽代碼

Fixes missing return

main
Eric Amodio 2 年之前
父節點
當前提交
5a3e6a4e18
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/git/models/commit.ts

+ 1
- 1
src/git/models/commit.ts 查看文件

@ -500,7 +500,7 @@ export class GitCommitIdentity {
commit: GitCommit,
options?: { defaultStyle?: GravatarDefaultStyle; size?: number },
): 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);
}

Loading…
取消
儲存