Skip to content

Commit

Permalink
remove typing
Browse files Browse the repository at this point in the history
  • Loading branch information
meop committed Oct 23, 2024
1 parent 07cff81 commit 9755247
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/me.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::path::Path;
use clap::Subcommand;
use dialoguer::Confirm;
use reqwest;
use self_update::update::Release;
use version_compare::Cmp;

use crate::file::get_cur_path_str;
Expand Down Expand Up @@ -91,7 +90,7 @@ fn upgrade() -> Result<(), Box<dyn Error>> {
let mut latest_version = current_version.clone();

let binary = format!("{}-ctrl", self_update::get_target());
let mut latest_viable_release: Option<Release> = None;
let mut latest_viable_release = None;

for r in releases {
if r.asset_for(&binary, None).is_some() {
Expand Down

0 comments on commit 9755247

Please sign in to comment.