Prevent SW crash in bool Results.Output.Printers.Table.IsEmpty( )
This commit is contained in:
parent
16494389c6
commit
07b51f12a2
@ -63,7 +63,7 @@ namespace Results.Output.Printers
|
||||
/// <returns>true when empty</returns>
|
||||
public bool IsEmpty()
|
||||
{
|
||||
return (RowsCount == 0 || Rows[0].Length == 0);
|
||||
return (Rows == null || RowsCount == 0 || Rows[0] == null || Rows[0].Length == 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user