Skip to content

Commit 7fea7e1

Browse files
committed
Merge branch '3.0.x' into 3.1.x
2 parents a371a2c + 7b4c371 commit 7fea7e1

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
@@ -142,7 +142,7 @@ private void applyUpgrades(GitHubRepository repository, List<String> issueLabels
142142
if (new ProcessBuilder().command("git", "commit", "-m", commitMessage).start().waitFor() != 0) {
143143
throw new IllegalStateException("git commit failed");
144144
}
145-
System.out.println(" Commit: " + commitMessage.substring(commitMessage.indexOf('\n')));
145+
System.out.println(" Commit: " + commitMessage.substring(0, commitMessage.indexOf('\n')));
146146
}
147147
catch (IOException ex) {
148148
throw new TaskExecutionException(this, ex);

0 commit comments

Comments
 (0)