fix: my mistake (#134)

This commit is contained in:
2024-08-17 22:17:15 +02:00
committed by GitHub
parent 9d569f4c43
commit b5bc8daaa7

View File

@@ -131,7 +131,7 @@ async fn download_and_install_dependency(url: &str, path: &Path, args: &[&str])
} }
} }
} }
match crate::http_async::download_file(url, &PathBuf::from(path)).await { match crate::http_async::download_file(url, &std::path::PathBuf::from(path)).await {
Ok(_) => info!("Downloaded {}", path.display()), Ok(_) => info!("Downloaded {}", path.display()),
Err(e) => println_error!("Error downloading {}: {}", path.display(), e), Err(e) => println_error!("Error downloading {}: {}", path.display(), e),
} }