Skip to content

Commit

Permalink
chore: Change color of log lines used to display the generated regex
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloStarOk committed Oct 31, 2024
1 parent 820562e commit 9f58cac
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/GitHooksCSharp/Commit/Validation/CommitMessageRegex.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,12 @@ static CommitMessageRegex()
FillSubjectRegex();
FillBodyRegex();
FillFooterRegex();

Logger.LogWarning($"Subject Validation: {SubjectRegex}");
Logger.LogWarning($"Body Validation: {BodyRegex}");
Logger.LogWarning($"Footer Validation: {FooterRegex}");

Logger.BlankLine();
Logger.LogWarning("☢️ Generated regex to validate ☢️");
Logger.LogInfo($"Subject regex: {SubjectRegex}");
Logger.LogInfo($"Body regex: {BodyRegex}");
Logger.LogInfo($"Footer regex: {FooterRegex}");
}

/// <summary>
Expand Down

0 comments on commit 9f58cac

Please sign in to comment.