diff --git a/src/packaging.rs b/src/packaging.rs index 71d210b4..2e0e9b69 100644 --- a/src/packaging.rs +++ b/src/packaging.rs @@ -9,6 +9,7 @@ use std::os::unix::prelude::OsStrExt; #[cfg(target_family = "unix")] use std::os::unix::fs::symlink; +use itertools::Itertools; use tempfile::TempDir; use walkdir::WalkDir; @@ -742,6 +743,14 @@ pub fn package_conda( } } + // print sorted files + println!("\nFiles in package:\n"); + tmp_files + .iter() + .map(|x| x.strip_prefix(tmp_dir_path).unwrap()) + .sorted() + .for_each(|f| println!(" - {}", f.to_string_lossy())); + let output_folder = local_channel_dir.join(output.build_configuration.target_platform.to_string()); tracing::info!("Creating target folder {:?}", output_folder); diff --git a/src/render/solver.rs b/src/render/solver.rs index 071556fa..674b0573 100644 --- a/src/render/solver.rs +++ b/src/render/solver.rs @@ -562,9 +562,9 @@ async fn fetch_repo_data_records_with_progress( } Err(_) => { progress_bar.set_style(errored_progress_style()); - progress_bar.finish_with_message("Cancelled.."); + progress_bar.finish_with_message("Canceled..."); // Since the task was cancelled most likely the whole async stack is being cancelled. - Err(anyhow::anyhow!("cancelled")) + Err(anyhow::anyhow!("canceled")) } }, }