Skip to content

Commit e62dcef

Browse files
committed
Reverse the condition on string.IsNullOrWhitespace (doh!)
1 parent 54358bf commit e62dcef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Core/UI/Command/MenuItems/CommandBars/SerializeProjectsCommandMenuItem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected override void OnExecute(object parameter)
8080
#if DEBUG
8181
//This block must be inside a DEBUG block because the Serialize method
8282
//called is conditionally compiled and available only for a DEBUG build.
83-
var path = string.IsNullOrWhiteSpace(_serializationProvider.Target)
83+
var path = !string.IsNullOrWhiteSpace(_serializationProvider.Target)
8484
? Path.GetDirectoryName(_serializationProvider.Target)
8585
: Path.GetTempPath();
8686
var traceDirectory = Path.Combine(path, "COM Trace");

0 commit comments

Comments
 (0)