Skip to content

Commit

Permalink
cargo fmt version
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Dec 16, 2023
1 parent 55c69f7 commit c039e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/check_for_updates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async fn get_latest_version(crate_name: &str) -> Result<String, Box<dyn std::err
let client = reqwest::Client::builder()
.user_agent("salvo-cli update checker")
.build()?;

let resp = client.get(&url).send().await?;
let body: String = resp.text().await?;
let crate_response: Value = serde_json::from_str(&body)?;
Expand Down

0 comments on commit c039e4d

Please sign in to comment.