Skip to content

Commit 639d162

Browse files
committed
trim each line when printing update reminder
1 parent db6d5f2 commit 639d162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/D2L.Bmx/ConsoleWriter.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void IConsoleWriter.WriteUpdateMessage( string text ) {
3535
Console.Error.WriteLine();
3636
return;
3737
}
38-
string[] lines = text.Split( '\n' );
38+
string[] lines = text.Split( '\n', StringSplitOptions.TrimEntries );
3939
int maxLineLength = lines.Max( l => l.Length );
4040
foreach( string line in lines ) {
4141
string paddedLine = line.PadRight( maxLineLength );

0 commit comments

Comments
 (0)