Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timvw committed Mar 30, 2024
1 parent 09326af commit cb6f5f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ async fn build_s3(url: &Url, sdk_config: &SdkConfig) -> Result<AmazonS3> {
async fn build_gcs(gcs_url: &Url) -> Result<GoogleCloudStorage> {
let google_application_credentials =
env::var("GOOGLE_APPLICATION_CREDENTIALS").map_err(|_| {
DataFusionError::Execution(
DataFusionError::Execution(String::from(
"Could not find GOOGLE_APPLICATION_CREDENTIALS environment variable",
)
))
})?;

let bucket_name = gcs_url.host_str().unwrap();
Expand Down

0 comments on commit cb6f5f2

Please sign in to comment.