Skip to content

Commit

Permalink
Trim title
Browse files Browse the repository at this point in the history
  • Loading branch information
PrincessMadMath committed Dec 17, 2024
1 parent 6f130ef commit 6929764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ConfigurationFilesGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ await Parallel.ForEachAsync(packages, async (item, cancellationToken) =>
var currentRuleConfiguration = currentConfiguration.Rules.FirstOrDefault(r => r.Id == rule.Id);
var severity = currentRuleConfiguration != null ? currentRuleConfiguration.Severity : rule.DefaultEffectiveSeverity;

sb.AppendLine($"# {rule.Id}: {rule.Title?.TrimEnd()}");
sb.AppendLine($"# {rule.Id}: {rule.Title?.TrimEnd()}".TrimEnd());
if (!string.IsNullOrEmpty(rule.Url))
{
sb.AppendLine($"# Help link: {rule.Url?.TrimEnd()}");
Expand Down

0 comments on commit 6929764

Please sign in to comment.