Skip to content

Commit

Permalink
[TouchRunner] Fix network logging to log if we're logging to a file e…
Browse files Browse the repository at this point in the history
…ven if EnableNetwork is false. (#79)

The property should probably be renamed, but that's for another time.
  • Loading branch information
rolfbjarne authored Jul 17, 2020
1 parent 1f85e16 commit 2d556a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NUnitLite/TouchRunner/TouchOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public TouchOptions ()
public string LogFile { get; set; }

public bool ShowUseNetworkLogger {
get { return (EnableNetwork && !String.IsNullOrWhiteSpace (HostName) && (HostPort > 0 || Transport == "FILE")); }
get { return (EnableNetwork && !String.IsNullOrWhiteSpace (HostName) && (HostPort > 0)) || Transport == "FILE"; }
}

public bool SortNames { get; set; }
Expand Down

0 comments on commit 2d556a5

Please sign in to comment.