From ed9e52aae07842bcbac36eb96d2b409d96381b3c Mon Sep 17 00:00:00 2001 From: Night_Hunter Date: Mon, 25 Nov 2024 18:50:59 +1300 Subject: [PATCH] revert change --- plugins/updater/src/updater.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs index 58506394..2a77648a 100644 --- a/plugins/updater/src/updater.rs +++ b/plugins/updater/src/updater.rs @@ -395,10 +395,7 @@ impl Updater { let should_update = match self.version_comparator.as_ref() { Some(comparator) => comparator(self.current_version.clone(), release.clone()), - None => { - // default comparator - release.version > self.current_version - } + None => release.version > self.current_version, }; let update = if should_update {