Skip to content

Commit

Permalink
Add Download reporting message
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Sep 26, 2024
1 parent b15f948 commit 93a8720
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/uv/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ async fn resolve_script_target(
.prefix(file_stem)
.suffix(".py")
.tempfile()?;

eprintln!(
"Downloading remote script to {}",
temp_file.path().display().cyan()
);

let response = reqwest::get(script_url).await?;
let contents = response.bytes().await?;
write_atomic(&temp_file, &contents).await?;
Expand Down

0 comments on commit 93a8720

Please sign in to comment.