Skip to content

Commit 573f01e

Browse files
committed
Polish Bomr's output
See gh-35296
1 parent 51bff73 commit 573f01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/UpgradeDependencies.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private void applyUpgrades(GitHubRepository repository, List<String> issueLabels
143143
if (new ProcessBuilder().command("git", "commit", "-m", commitMessage).start().waitFor() != 0) {
144144
throw new IllegalStateException("git commit failed");
145145
}
146-
System.out.println(" Commit: " + commitMessage.substring(commitMessage.indexOf('\n')));
146+
System.out.println(" Commit: " + commitMessage.substring(0, commitMessage.indexOf('\n')));
147147
}
148148
catch (IOException ex) {
149149
throw new TaskExecutionException(this, ex);

0 commit comments

Comments
 (0)