Merge pull request #163 from NobodyXu/optimization

This commit is contained in:
Félix Saparelli 2022-06-07 17:58:58 +12:00 committed by GitHub
commit 7fa053cbd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -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> {