Skip to content

Commit 9f58cac

Browse files
committed
chore: Change color of log lines used to display the generated regex
1 parent 820562e commit 9f58cac

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/GitHooksCSharp/Commit/Validation/CommitMessageRegex.cs

+6-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ static CommitMessageRegex()
5757
FillSubjectRegex();
5858
FillBodyRegex();
5959
FillFooterRegex();
60-
61-
Logger.LogWarning($"Subject Validation: {SubjectRegex}");
62-
Logger.LogWarning($"Body Validation: {BodyRegex}");
63-
Logger.LogWarning($"Footer Validation: {FooterRegex}");
60+
61+
Logger.BlankLine();
62+
Logger.LogWarning("☢️ Generated regex to validate ☢️");
63+
Logger.LogInfo($"Subject regex: {SubjectRegex}");
64+
Logger.LogInfo($"Body regex: {BodyRegex}");
65+
Logger.LogInfo($"Footer regex: {FooterRegex}");
6466
}
6567

6668
/// <summary>

0 commit comments

Comments
 (0)