Prevent SW crash in bool Results.Output.Printers.Table.IsEmpty( )

This commit is contained in:
Milan Hanajik 2018-09-20 12:22:46 +02:00
parent 16494389c6
commit 07b51f12a2

View File

@ -63,7 +63,7 @@ namespace Results.Output.Printers
/// <returns>true when empty</returns> /// <returns>true when empty</returns>
public bool IsEmpty() public bool IsEmpty()
{ {
return (RowsCount == 0 || Rows[0].Length == 0); return (Rows == null || RowsCount == 0 || Rows[0] == null || Rows[0].Length == 0);
} }