From 91848869cc06ef8c1bbd4e163afb9320489c05e9 Mon Sep 17 00:00:00 2001 From: morde Date: Wed, 7 Aug 2024 10:31:19 +0300 Subject: [PATCH] lol --- src/handlers/install_handler.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/handlers/install_handler.rs b/src/handlers/install_handler.rs index 0a7fc11..3b4003f 100644 --- a/src/handlers/install_handler.rs +++ b/src/handlers/install_handler.rs @@ -145,6 +145,7 @@ pub async fn start( tokio::fs::remove_file(archive_path).await?; tokio::fs::remove_file(checksum_path).await?; return Err(anyhow!("Checksum mismatch!")); + } info!("Checksum matched!"); tokio::fs::remove_file(checksum_path).await?; @@ -686,7 +687,7 @@ async fn send_request( }; let version = &version.tag_name; let request_url = - format!("{url}/neovim/neovim/releases/download/{version}/{platform}.{file_type}",); + format!("{url}/neovim/neovim/releases/download/{version}/{platform}.{file_type}"); client .get(request_url)