Skip to content

Commit

Permalink
fix: change cache_path to pathbuf
Browse files Browse the repository at this point in the history
  • Loading branch information
Wackyator committed Sep 13, 2023
1 parent 4e9cdc9 commit a5efaa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rattler-bin/src/commands/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ async fn fetch_repo_data_records_with_progress(
let result = rattler_repodata_gateway::fetch::fetch_repo_data(
channel.platform_url(platform),
client,
repodata_cache,
repodata_cache.to_path_buf(),
FetchRepoDataOptions::default(),
Some(Box::new(move |DownloadProgress { total, bytes }| {
download_progress_progress_bar.set_length(total.unwrap_or(bytes));
Expand Down

0 comments on commit a5efaa2

Please sign in to comment.