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 {