Skip to content

Commit

Permalink
Print all status messages to stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnatsel committed Jan 13, 2025
1 parent 091c84d commit ba00c07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/terminal/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ macro_rules! status_ok {
.bold()
.color($crate::terminal::Color::Green)
.status($status)
.print_stdout($msg)
.print_stderr($msg)
.unwrap();
};
($status:expr, $fmt:expr, $($arg:tt)+) => {
Expand All @@ -72,7 +72,7 @@ macro_rules! status_info {
.bold()
.color($crate::terminal::Color::Cyan)
.status($status)
.print_stdout($msg)
.print_stderr($msg)
.unwrap();
};
($status:expr, $fmt:expr, $($arg:tt)+) => {
Expand All @@ -93,7 +93,7 @@ macro_rules! status_warn {
.bold()
.color($crate::terminal::Color::Yellow)
.status("warning:")
.print_stdout($msg)
.print_stderr($msg)
.unwrap();
};
($fmt:expr, $($arg:tt)+) => {
Expand Down

0 comments on commit ba00c07

Please sign in to comment.