Skip to content

Commit

Permalink
fix(cli): remove output conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
gc-victor committed Aug 16, 2024
1 parent 8c023e2 commit 4e1721d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions crates/cli/src/commands/dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,7 @@ fn execute_dev_commands() {
continue;
}

if !message.contains("updated")
&& !message.contains("cached")
&& !message.contains("executed")
{
println!("{} {}", String::from('●').green(), message);
}
println!("{} {}", String::from('●').green(), message);
}
Err(e) => {
eprintln!("{}", format!("{} {}", String::from('●'), e).red());
Expand All @@ -258,14 +253,11 @@ fn execute_dev_commands() {
let message = message.trim_end_matches('"');
let message = message.trim();

if message.is_empty()
|| message.starts_with("Rebuilding...")
|| message.starts_with("Done in")
{
if message.is_empty() {
continue;
}

eprintln!("{}", message.red());
eprintln!("{}", message);
}
Err(e) => {
eprintln!("{}", format!("{} {}", String::from('●'), e).red());
Expand Down

0 comments on commit 4e1721d

Please sign in to comment.