Skip to content

Commit

Permalink
Reverse the condition on string.IsNullOrWhitespace (doh!)
Browse files Browse the repository at this point in the history
  • Loading branch information
bclothier committed Oct 20, 2018
1 parent 54358bf commit e62dcef
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -80,7 +80,7 @@ protected override void OnExecute(object parameter)
#if DEBUG
//This block must be inside a DEBUG block because the Serialize method
//called is conditionally compiled and available only for a DEBUG build.
var path = string.IsNullOrWhiteSpace(_serializationProvider.Target)
var path = !string.IsNullOrWhiteSpace(_serializationProvider.Target)
? Path.GetDirectoryName(_serializationProvider.Target)
: Path.GetTempPath();
var traceDirectory = Path.Combine(path, "COM Trace");
Expand Down

0 comments on commit e62dcef

Please sign in to comment.