From 1be4c3113967a766a126893d413ad25cf0024714 Mon Sep 17 00:00:00 2001 From: Harsh Singh Date: Fri, 6 Oct 2023 13:49:13 +0530 Subject: [PATCH] temporarily removed optional headers --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/commands/download.rs | 2 +- src/vercel/remote_client.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ef36a5..4349059 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1299,7 +1299,7 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "vercel-cache-helper" -version = "0.1.9" +version = "0.2.0" dependencies = [ "atty", "clap", diff --git a/Cargo.toml b/Cargo.toml index 9e22bca..41abaeb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vercel-cache-helper" -version = "0.1.9" +version = "0.2.0" edition = "2021" description = "Hello world" diff --git a/src/commands/download.rs b/src/commands/download.rs index 17ed304..17cb6bb 100644 --- a/src/commands/download.rs +++ b/src/commands/download.rs @@ -38,7 +38,7 @@ pub async fn download( let output_get_res = output_get_req.get().await?; - assert!(output_get_res.status().is_success(), "Build artifacts could not be downloaded: {:#?}", output_get_res); + assert!(output_get_res.status().is_success(), "Build artifacts could not be downloaded."); println!("Build artifacts downloaded"); diff --git a/src/vercel/remote_client.rs b/src/vercel/remote_client.rs index 8c1b577..8fdf24d 100644 --- a/src/vercel/remote_client.rs +++ b/src/vercel/remote_client.rs @@ -43,7 +43,7 @@ impl RemoteClient { Ok(vercel_cache_helper::vercel::artifact::ArtifactGetRequest( vercel_cache_helper::vercel::artifact::ArtifactBaseRequest::new( self.token.to_string(), - dbg!(self.get_remote_cache_endpoint_url(hash)?.clone()), + self.get_remote_cache_endpoint_url(hash)?.clone(), self.user_agent.to_string(), options, ),