Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Noah committed Jul 11, 2024
1 parent 22c310c commit ecb518e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(&current_version, &latest_version) {
println!("Already up to date");
return false;
}
Expand Down

0 comments on commit ecb518e

Please sign in to comment.