Skip to content

Commit 5212cd2

Browse files
committed
Fix JSONConfiguration not checking path properly
Closes #460
1 parent 2a40ea6 commit 5212cd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NetSparkle/Configurations/JSONConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public JSONConfiguration(IAssemblyAccessor assemblyAccessor)
4848
public JSONConfiguration(IAssemblyAccessor assemblyAccessor, string savePath)
4949
: base(assemblyAccessor)
5050
{
51-
_savePath = savePath != null && string.IsNullOrWhiteSpace(savePath) ? savePath : GetSavePath();
51+
_savePath = savePath != null && !string.IsNullOrWhiteSpace(savePath) ? savePath : GetSavePath();
5252
try
5353
{
5454
// get the save path

0 commit comments

Comments
 (0)