Increment skip to avoid infini-loop (#13703) (#13727)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
pull/13740/head
John Olheiser 4 years ago committed by GitHub
parent 7ec1c13f53
commit a82c7d4323
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      services/pull/pull.go

@ -609,7 +609,7 @@ func GetCommitMessages(pr *models.PullRequest) string {
}
element = element.Next()
}
skip += limit
}
}

Loading…
Cancel
Save