Skip to content

Commit 3c3318e

Browse files
committed
chore: add error msg in error
1 parent 65db20c commit 3c3318e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commit-message-checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export async function checkCommitMessages(
7575
} else {
7676
core.info(`- failed: "${message}"`)
7777
if (args.debugRegex !== null) {
78-
core.info(debugRegexMatching(args.debugRegex, message));
78+
args.error += '\n' + debugRegexMatching(args.debugRegex, message);
7979
}
8080
result = false;
8181
}

0 commit comments

Comments
 (0)