Browse Source

tweak string syntax to avoid tripping up gitea syntax highlighting

master
Jonathan Strong 2 years ago
parent
commit
c61008b560
  1. 8
      src/main.rs

8
src/main.rs

@ -253,9 +253,7 @@ async fn popen(cmd: &str, args: &[&str], envs: &[(&str, &str)]) -> Result<Output
})?;
debug!(
"finished executing `{}` Command with status {:?}\n\
STDOUT (length={}):\n{}\n\
STDERR (length={}):\n{}\n",
"finished executing `{}` Command with status {:?}\n STDOUT (length={}):\n{}\n STDERR (length={}):\n{}\n",
cmd,
output.status,
output.stdout.len(),
@ -266,9 +264,7 @@ async fn popen(cmd: &str, args: &[&str], envs: &[(&str, &str)]) -> Result<Output
if !output.status.success() {
error!(
"finished executing `{}` Command with status {:?}\n\
STDOUT (length={}):\n{}\n\
STDERR (length={}):\n{}\n",
"finished executing `{}` Command with status {:?}\n STDOUT (length={}):\n{}\n STDERR (length={}):\n{}\n",
cmd,
output.status,
output.stdout.len(),

Loading…
Cancel
Save