Skip to content

Commit

Permalink
Update 1.16.1 for sonar 10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
C4tWithShell committed Dec 11, 2023
1 parent 97c471f commit d72e103
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private static Branch createPullRequest(ScannerReport.Metadata metadata, DbClien
private static Branch createBranch(DbClient dbClient, String branchName, String projectUuid, String targetBranch) {
String targetUuid;
if (null == targetBranch) {
Optional<BranchDto> branchDto = findBranchByUuid(dbClient, projectUuid);
Optional<BranchDto> branchDto = findBranchByUuid(projectUuid, dbClient);
if (branchDto.isPresent()) {
targetUuid = branchDto.get().getUuid();
} else {
Expand Down

0 comments on commit d72e103

Please sign in to comment.