mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-13 15:30:03 +00:00
Fix quickinstall failing when packages are not wrapped in a folder
This commit is contained in:
parent
49f3489398
commit
b5d6d68d6d
4 changed files with 23 additions and 2 deletions
|
@ -35,7 +35,7 @@ impl super::Fetcher for QuickInstall {
|
|||
async fn fetch(&self, dst: &Path) -> Result<(), anyhow::Error> {
|
||||
let url = self.package_url();
|
||||
info!("Downloading package from: '{url}'");
|
||||
download(&url, dst).await
|
||||
download(&url, &dst).await
|
||||
}
|
||||
|
||||
fn pkg_fmt(&self) -> PkgFmt {
|
||||
|
@ -45,6 +45,7 @@ impl super::Fetcher for QuickInstall {
|
|||
fn source_name(&self) -> String {
|
||||
String::from("QuickInstall")
|
||||
}
|
||||
|
||||
fn is_third_party(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue