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

Loading…
Cancel
Save