Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Fixed the format of a log line.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bradley Clayton committed Jun 14, 2018
1 parent 116ed5e commit 76882ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ private boolean validateGitCommit(String repository, String branchName, String g
if (Util.valueExists(repository) && Util.valueExists(branchName) && Util.valueExists(gitAuthor) && Util.valueExists(commitMessage)) {
String instanceName = ReadyCIConfiguration.instance().instanceName;
if (commitMessage.toLowerCase().contains(instanceName.toLowerCase())) {
LOGGER.warn("Hmmm, I recognise this GIT commit on %s for branch %s by %s, " +
LOGGER.warn(String.format("Hmmm, I recognise this GIT commit on %s for branch %s by %s, " +
"because my name is in the commit message. I'm going to ignore this " +
"commit to avoid cyclic builds triggered through the web-hook. " +
"The commit message is %s.", repository, branchName, gitAuthor, commitMessage);
"The commit message is %s.", repository, branchName, gitAuthor, commitMessage));
} else {
return true;
}
Expand Down

0 comments on commit 76882ba

Please sign in to comment.