Skip to content

Commit

Permalink
fix commit paging
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Nov 18, 2023
1 parent dd0276c commit 97b9c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/github/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func isRepositoryCommitAuthor(commit *go_github.RepositoryCommit, author string)
type pageListFunc func(page int) (nextPage bool, err error)

func listForPages(fn pageListFunc) error {
page := 0
page := 1
nextPage := true
for nextPage {
var err error
Expand Down

0 comments on commit 97b9c84

Please sign in to comment.