diff --git a/src/update_handler.rs b/src/update_handler.rs index 284ccb2..a7889d5 100644 --- a/src/update_handler.rs +++ b/src/update_handler.rs @@ -62,7 +62,7 @@ pub fn update() -> bool { let current_version = get_current_version(); let latest_version = get_latest_version().unwrap(); - if is_up_to_date(current_version, latest_version) { + if is_up_to_date(¤t_version, &latest_version) { println!("Already up to date"); return false; }