mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
fix entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
2481a74e00
commit
75a8f99cde
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ pub fn install_crates(
|
||||||
pkg_url: args.pkg_url,
|
pkg_url: args.pkg_url,
|
||||||
pkg_fmt: args.pkg_fmt,
|
pkg_fmt: args.pkg_fmt,
|
||||||
bin_dir: args.bin_dir,
|
bin_dir: args.bin_dir,
|
||||||
disabled_strategies: (!args.disabled_strategies.is_empty()).then_some(|| {
|
disabled_strategies: (!args.disable_strategies.is_empty()).then_some(|| {
|
||||||
args.disabled_strategies
|
args.disable_strategies
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|strategy| strategy.0)
|
.map(|strategy| strategy.0)
|
||||||
.collect()
|
.collect()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue