v2 migration

This commit is contained in:
Aiden McClelland
2021-10-07 16:33:51 -06:00
committed by Aiden McClelland
parent 7fc4cb175c
commit e58df7ec4a
22 changed files with 466 additions and 81 deletions

View File

@@ -69,7 +69,13 @@ impl DockerAction {
cmd.stdout(std::process::Stdio::piped());
cmd.stderr(std::process::Stdio::piped());
if log::log_enabled!(log::Level::Trace) {
log::trace!("{}", format!("{:?}", cmd).split(r#"" ""#).collect::<Vec<&str>>().join(" "));
log::trace!(
"{}",
format!("{:?}", cmd)
.split(r#"" ""#)
.collect::<Vec<&str>>()
.join(" ")
);
}
let mut handle = cmd.spawn().with_kind(crate::ErrorKind::Docker)?;
if let (Some(input), Some(stdin)) = (&input_buf, &mut handle.stdin) {