mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-13 15:30:03 +00:00
Merge pull request #163 from NobodyXu/optimization
This commit is contained in:
commit
7fa053cbd1
3 changed files with 3 additions and 4 deletions
|
@ -31,7 +31,7 @@ impl super::Fetcher for QuickInstall {
|
|||
let url = self.package_url();
|
||||
self.report().await?;
|
||||
info!("Checking for package at: '{url}'");
|
||||
remote_exists(&url, Method::HEAD).await
|
||||
remote_exists(Url::parse(&url)?, Method::HEAD).await
|
||||
}
|
||||
|
||||
async fn fetch(&self, dst: &Path) -> Result<(), BinstallError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue