Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv committed Mar 19, 2024
1 parent 0b5521e commit ac4956a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/repodata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ pub async fn fetch_sparse_repodata_targets(

let fetch_repodata_options = config
.as_ref()
.map(|config| config.repodata_config.as_ref())
.flatten()
.and_then(|config| config.repodata_config.as_ref())
.map(|config| FetchRepoDataOptions {
bz2_enabled: !config.disable_bzip2.unwrap_or_default(),
jlap_enabled: !config.disable_jlap.unwrap_or_default(),
Expand Down
2 changes: 1 addition & 1 deletion tests/config/config_2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ change_ps1 = true

[repodata_config]
disable_jlap = true
disable_zstd = true
disable_zstd = true

0 comments on commit ac4956a

Please sign in to comment.