Skip to content

Commit 0f9061b

Browse files
committed
Apply Copilot suggestion
1 parent 4bdf0a4 commit 0f9061b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/repositories.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ func resolveGitReference(ctx context.Context, githubClient *github.Client, owner
18831883
}
18841884

18851885
// 1a) If sha is empty but ref looks like a SHA, return it without changes
1886-
if sha == "" && looksLikeSHA(ref) {
1886+
if looksLikeSHA(ref) {
18871887
return &raw.ContentOpts{Ref: "", SHA: ref}, nil
18881888
}
18891889

0 commit comments

Comments
 (0)