Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit cc43d6d

Browse files
committed
Remove carriage returns from git commit messages
1 parent 8e54dfa commit cc43d6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

connector/connector-github/src/main/java/net/openhft/chronicle/releasenotes/connector/github/GitHubReleaseConnector.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,7 @@ private List<Integer> extractIssueIdsFromCommit(GHCommit commit, boolean include
622622
try {
623623
final String commitMessage = commit.getCommitShortInfo().getMessage()
624624
.replaceAll("\n", " ")
625+
.replaceAll("\r", "")
625626
.replaceAll(" +", " ")
626627
.replaceAll(",", "");
627628

0 commit comments

Comments
 (0)