Skip to content

Commit

Permalink
some minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmolina95 committed Sep 10, 2024
1 parent 7ff7919 commit 68947f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/lyft/clutch/backend

go 1.23.0

toolchain go1.23.0

require (
github.com/DATA-DOG/go-sqlmock v1.5.0
github.com/Masterminds/squirrel v1.5.4
Expand Down
2 changes: 1 addition & 1 deletion backend/service/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func (s *svc) GetCommit(ctx context.Context, ref *RemoteRef) (*Commit, error) {
Author: commit.GetAuthor(),
}

if commit.Parents != nil && len(commit.Parents) > 0 {
if len(commit.Parents) > 0 {
retCommit.ParentRef = commit.Parents[0].GetSHA()
}

Expand Down

0 comments on commit 68947f9

Please sign in to comment.