mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-08-21 15:17:15 +00:00
Improve readability
This commit is contained in:
@@ -283,8 +283,6 @@ fn main() {
|
|||||||
Ok(stdout) => match stdout.as_str() {
|
Ok(stdout) => match stdout.as_str() {
|
||||||
"" => {}
|
"" => {}
|
||||||
_ => {
|
_ => {
|
||||||
println!("{}", "STDOUT".bold().blue());
|
|
||||||
|
|
||||||
for line in stdout.lines() {
|
for line in stdout.lines() {
|
||||||
println!("{} {}", "║".green(), line);
|
println!("{} {}", "║".green(), line);
|
||||||
}
|
}
|
||||||
@@ -296,7 +294,6 @@ fn main() {
|
|||||||
Ok(stderr) => match stderr.as_str() {
|
Ok(stderr) => match stderr.as_str() {
|
||||||
"" => {}
|
"" => {}
|
||||||
_ => {
|
_ => {
|
||||||
println!("{}", "STDERR".bold().bright_red());
|
|
||||||
for line in stderr.lines() {
|
for line in stderr.lines() {
|
||||||
println!("{} {}", "║".red(), line);
|
println!("{} {}", "║".red(), line);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user