mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
Trim trailing slash from repo (#360)
This commit is contained in:
parent
32c3154abb
commit
0c6687455f
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ impl super::Fetcher for GhCrateMeta {
|
|||
return Ok(false);
|
||||
};
|
||||
|
||||
let repo = repo.as_ref().map(Url::as_str);
|
||||
let repo = repo.as_ref().map(|u| u.as_str().trim_end_matches('/'));
|
||||
let launch_baseline_find_tasks = |pkg_fmt| {
|
||||
pkg_urls
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Reference in a new issue