Skip to content

Commit

Permalink
Fix changelog builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Apr 30, 2024
1 parent 2f80c2a commit 85e8d70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/Build.CI.GitHub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ StringBuilder BuildChangelog(string version)

static void TrimEmptyLines(StringBuilder builder)
{
if (builder.Length == 0) return;

while (builder[^1] == '\r' || builder[^1] == '\n')
{
builder.Remove(builder.Length - 1, 1);
Expand Down

0 comments on commit 85e8d70

Please sign in to comment.