Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Mar 1, 2025
1 parent a4ab600 commit 8d4abb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/src/tarball.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,9 +688,7 @@ impl PublishError {

fn from_tarball_io_error(err: io::Error) -> PublishError {
match err.downcast::<reqwest::Error>() {
Ok(err) => {
PublishError::GcsDownloadError(GcsError::Reqwest(err))
}
Ok(err) => PublishError::GcsDownloadError(GcsError::Reqwest(err)),
Err(err) => PublishError::InvalidTarball(err),
}
}
Expand Down

0 comments on commit 8d4abb2

Please sign in to comment.