Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
harshdoesdev committed Oct 10, 2023
1 parent e9a76eb commit 61b6f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/commands/upload.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use indicatif::{ProgressBar, ProgressStyle};
use std::io::{Seek, Read};
use std::io::{Read, Seek};

pub async fn upload(
remote_client: vercel_cache_helper::vercel::remote_client::RemoteClient,
Expand Down Expand Up @@ -64,7 +64,8 @@ pub async fn upload(
pb.set_message("Uploading artfiacts...");

let response = output_put_req
.buffer(&mut output_archive_buf, output_archive_size).await?;
.buffer(&mut output_archive_buf, output_archive_size)
.await?;

if !response.status().is_success() {
println!("Could not upload artifacts.");
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ impl From<reqwest::Error> for Error {
}

pub mod commands;
pub mod constants;
pub mod utils;
pub mod vercel;
pub mod constants;

pub fn get_remote_client(
token: String,
Expand Down

0 comments on commit 61b6f1c

Please sign in to comment.