mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Print downloading message when downloading package
This commit is contained in:
parent
822f059e6e
commit
207160e22c
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ pub fn install_package<'a>(
|
|||
Ok((dest_dir, root_module_filename))
|
||||
} else {
|
||||
// Download into a tempdir; only move it to dest_dir if hash verification passes.
|
||||
println!(
|
||||
"Downloading \u{001b}[36m{url}\u{001b}[0m\n into {}\n",
|
||||
cache_dir.display()
|
||||
);
|
||||
let tempdir = tempfile::tempdir().map_err(Problem::IoErr)?;
|
||||
let tempdir_path = tempdir.path();
|
||||
let downloaded_hash =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue