Skip to content

Commit fe7da3e

Browse files
committed
fix: trim ignoreCommitsIfMessageMatches
1 parent 4cc20c7 commit fe7da3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/se/bjurr/gitchangelog/plugin/GitChangelogMojo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void execute() throws MojoExecutionException {
288288
}
289289
builder.withRemoveIssueFromMessageArgument(this.removeIssueFromMessage);
290290
if (this.isSupplied(this.ignoreCommitsIfMessageMatches)) {
291-
builder.withIgnoreCommitsWithMessage(this.ignoreCommitsIfMessageMatches);
291+
builder.withIgnoreCommitsWithMessage(this.ignoreCommitsIfMessageMatches.trim());
292292
}
293293
if (this.ignoreCommitsOlderThan != null) {
294294
builder.withIgnoreCommitsOlderThan(this.ignoreCommitsOlderThan);

0 commit comments

Comments
 (0)