Skip to content

Commit

Permalink
fix: updater fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Oct 6, 2024
1 parent 5e991e1 commit 99dbd28
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions updater/src/github.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ pub fn download_release(
release_name: impl AsRef<str> + Display,
path: PathBuf,
) -> PathBuf {
let url = format!(
"https://github.com/{user}/{repo}/releases/download/{tag_name}/{release_name}",
);
let url = format!("https://github.com/{user}/{repo}/releases/download/{tag_name}/{release_name}");

let client = reqwest::blocking::Client::new();

Expand Down

0 comments on commit 99dbd28

Please sign in to comment.