Skip to content

Commit

Permalink
Fix stray println that could mess up redirecting output
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Feb 17, 2024
1 parent 2a4cdeb commit 62684c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Config {
.context("Could not copy old config file to new location")?;
std::fs::remove_file(&old_config_file)
.context("Could not remove old config file")?;
println!(
eprintln!(
"{}: Migrated old config file to new location",
"INFO".bold().blue()
);
Expand All @@ -55,7 +55,7 @@ impl Config {
}

if config_file.exists() && !force {
println!("{}: config already exist", "INFO".bold().blue());
eprintln!("{}: config already exist", "INFO".bold().blue());
return Ok(());
}

Expand Down

0 comments on commit 62684c2

Please sign in to comment.