Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #94 from Stanislaw000/master
Browse files Browse the repository at this point in the history
change branch comparison to case insensitive in findPullRequestsWithSourceBranch
  • Loading branch information
mrueegg authored May 31, 2019
2 parents 71d86b8 + c018776 commit 440555f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class BitbucketClient(config: SonarBBPluginConfig) {
forEachResultPage(Seq[PullRequest](), (pageStart, pullRequests: Seq[PullRequest]) => {
val (nextPageStart, newPullRequests) = fetchPullRequestsPage(pageStart)
(nextPageStart, pullRequests ++ newPullRequests)
}).filter(_.srcBranch == branchName)
}).filter(_.srcBranch.toLowerCase == branchName.toLowerCase)

}

Expand Down

0 comments on commit 440555f

Please sign in to comment.