This commit is contained in:
2023-09-08 12:32:21 +03:00
parent c5920780a2
commit 2ef0f8f320
2 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1066,7 +1066,7 @@ checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
[[package]] [[package]]
name = "rexec" name = "rexec"
version = "1.0.9" version = "1.1.0"
dependencies = [ dependencies = [
"brace-expand", "brace-expand",
"clap 4.3.4", "clap 4.3.4",

View File

@@ -293,9 +293,9 @@ fn main() {
"" => {} "" => {}
_ => { _ => {
let prefix = if output.exit_status != 0 { let prefix = if output.exit_status != 0 {
format!("{}", "".cyan()) format!("{}", "".cyan())
} else { } else {
format!("{}", "".green()) format!("{}", "".green())
}; };
for line in stdout.lines() { for line in stdout.lines() {
println!("{} {}", prefix, line); println!("{} {}", prefix, line);