Skip to content

Commit 2edc345

Browse files
committed
Fix or condition
1 parent 76efdfc commit 2edc345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,8 +555,8 @@ private bool SameOrLesserPluginVersionExists(string metadataPath)
555555
var newMetadata = JsonSerializer.Deserialize<PluginMetadata>(File.ReadAllText(metadataPath));
556556
return Context.API.GetAllPlugins()
557557
.Any(x => x.Metadata.ID == newMetadata.ID
558-
&& (x.Metadata.Version == newMetadata.Version)
559-
|| newMetadata.Version.CompareTo(x.Metadata.Version) < 0);
558+
&& (x.Metadata.Version == newMetadata.Version
559+
|| newMetadata.Version.CompareTo(x.Metadata.Version) < 0));
560560
}
561561
}
562562
}

0 commit comments

Comments
 (0)