Skip to content

Commit

Permalink
allow empty committer
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Mar 7, 2022
1 parent c1761a8 commit 99eec23
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions clients/githubrepo/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,6 @@ func commitsFrom(data *graphqlData, repoOwner, repoName string) ([]clients.Commi
committer = "github"
}

if committer == "" {
return ret, fmt.Errorf("commit %s: %w", commit.Oid, errorInvalidCommitterLogin)
}

var associatedPR clients.PullRequest
for i := range commit.AssociatedPullRequests.Nodes {
pr := commit.AssociatedPullRequests.Nodes[i]
Expand Down

0 comments on commit 99eec23

Please sign in to comment.