We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bde59ac commit ba63f60Copy full SHA for ba63f60
1 file changed
NoPipeline/NoPipeline/Content.cs
@@ -58,7 +58,7 @@ public string Build()
58
builder.Append(item.ToString());
59
}
60
61
- builder.AppendLine();
+ RemoveTrailingBlankLines(builder);
62
63
return builder.ToString();
64
@@ -188,5 +188,12 @@ public void CheckIntegrity(string rootPath)
188
189
190
191
+ private void RemoveTrailingBlankLines(StringBuilder builder)
192
+ {
193
+ while(builder.ToString().EndsWith(Environment.NewLine))
194
195
+ builder.Remove(builder.Length - Environment.NewLine.Length, Environment.NewLine.Length);
196
+ }
197
198
199
0 commit comments