Skip to content

Commit

Permalink
tools install process now uses the proper library defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Gadorek committed Nov 12, 2024
1 parent 5fd3983 commit 09e2cf1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ async fn download_idf(
version,
settings.idf_mirror.as_deref(),
tx,
settings.recurse_submodules.unwrap_or(false),
settings.recurse_submodules.unwrap_or_default(),
) {
Ok(_) => {
send_message(
Expand Down Expand Up @@ -740,10 +740,7 @@ async fn setup_tools(

let tools_to_download = idf_im_lib::idf_tools::get_list_of_tools_to_download(
tools.clone(),
settings
.target
.clone()
.unwrap_or_else(|| vec!["all".to_string()]),
settings.target.clone().unwrap_or_default(),
settings.mirror.as_deref(),
);

Expand Down

0 comments on commit 09e2cf1

Please sign in to comment.