Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Del Monte committed Aug 14, 2023
1 parent 106206c commit 4d2c15d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ public String getSourceBranch() {
}

@Override
public String getLatestCommitFromRef() {
return payload.getPullRequest().getSource().getCommit().getHash();
public String getTargetBranch() {
return payload.getPullRequest().getDestination().getBranch().getName();
}

@Override
public String getTargetBranch() {
return payload.getPullRequest().getDestination().getBranch().getName();
public String getLatestCommitFromRef() {
return payload.getPullRequest().getSource().getCommit().getHash();
}

@Override
Expand Down

0 comments on commit 4d2c15d

Please sign in to comment.