Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 2d556a5

Browse files
authored
[TouchRunner] Fix network logging to log if we're logging to a file even if EnableNetwork is false. (#79)
The property should probably be renamed, but that's for another time.
1 parent 1f85e16 commit 2d556a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NUnitLite/TouchRunner/TouchOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public TouchOptions ()
132132
public string LogFile { get; set; }
133133

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

138138
public bool SortNames { get; set; }

0 commit comments

Comments
 (0)