that's unusual

This commit is contained in:
Macintxsh 2024-04-07 15:20:39 +03:00
parent ac2a148a71
commit 2d2ebd0abe
Signed by: mctaylors
GPG key ID: 7181BEBE676903C1
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ public class AboutCommandGroup : CommandGroup
builder.Append(tag).Append(' ');
}
builder.AppendLine().AppendDoubleLine(Markdown.Bold(
builder.AppendDoubleLine().AppendLine(Markdown.Bold(
Markdown.Hyperlink("TeamOctolings", "https://github.com/TeamOctolings")));
foreach (var dev in TeamOctolings)
{

View file

@ -69,7 +69,7 @@ public static class StringBuilderExtensions
/// <returns>
/// The builder with the appended string with two default line terminators at the end.
/// </returns>
public static StringBuilder AppendDoubleLine(this StringBuilder builder, string? value)
public static StringBuilder AppendDoubleLine(this StringBuilder builder, string? value = null)
{
return builder.AppendLine().AppendLine(value);
}