Skip to content

Commit

Permalink
fxes #13: Added a bad commit message on purpose.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsqd committed Jul 31, 2024
1 parent da24b92 commit 4831049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Robo/Plugin/Commands/ValidateCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ public function validateCommitMessages(

return new ResultData(ResultData::EXITCODE_ERROR);
}
// If the current branch is not using what's checked out, then fetch the latest from that
// branch as a local branch.
// If the current branch is not using what's checked out, then fetch the latest from
// that branch as a local branch.
if ($current_branch !== 'HEAD') {
if (!$this->_exec(
"git fetch $git_remote $current_branch:refs/remotes/$current_branch"
Expand Down

0 comments on commit 4831049

Please sign in to comment.