Skip to content

Commit

Permalink
Print to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
delsner committed Jun 7, 2024
1 parent 3b219d7 commit 9457527
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub async fn pack(options: PackOptions) -> Result<()> {
"Downloading {} packages...",
conda_packages_from_lockfile.len()
);
println!(
eprintln!(
"⏳ Downloading {} packages...",
conda_packages_from_lockfile.len()
);
Expand Down Expand Up @@ -184,7 +184,7 @@ pub async fn pack(options: PackOptions) -> Result<()> {
options.output_file.display(),
output_size
);
println!(
eprintln!(
"📦 Created pack at {} with size {}.",
options.output_file.display(),
output_size
Expand Down
4 changes: 2 additions & 2 deletions src/unpack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub async fn unpack(options: UnpackOptions) -> Result<()> {
"Finished unpacking to {}.",
options.output_directory.display(),
);
println!(
eprintln!(
"💫 Finished unpacking to {}.",
options.output_directory.display()
);
Expand Down Expand Up @@ -210,7 +210,7 @@ async fn create_prefix(channel_dir: &Path, target_prefix: &Path) -> Result<()> {

// Invariant: all packages are in the cache
tracing::info!("Installing {} packages", repodata_records.len());
println!("⏳ Installing {} packages...", repodata_records.len());
eprintln!("⏳ Installing {} packages...", repodata_records.len());

let installer = Installer::default().with_reporter(InstallationProgressReporter::new(
repodata_records.len() as u64,
Expand Down

0 comments on commit 9457527

Please sign in to comment.