removes all dbg! macros

This commit is contained in:
Keagan McClelland
2021-09-20 12:20:23 -06:00
parent 27ea0bb29c
commit 80a6a4e1ca

View File

@@ -208,18 +208,18 @@ impl DockerAction {
} else { } else {
continue; continue;
}; };
let src = dbg!(volume.path_for(ctx, pkg_id, pkg_version, volume_id)); let src = volume.path_for(ctx, pkg_id, pkg_version, volume_id);
if tokio::fs::metadata(&src).await.is_err() { if tokio::fs::metadata(&src).await.is_err() {
continue; continue;
} }
res.push(OsStr::new("--mount").into()); res.push(OsStr::new("--mount").into());
res.push( res.push(
dbg!(OsString::from(format!( OsString::from(format!(
"type=bind,src={},dst={}{}", "type=bind,src={},dst={}{}",
src.display(), src.display(),
dst.display(), dst.display(),
if volume.readonly() { ",readonly" } else { "" } if volume.readonly() { ",readonly" } else { "" }
))) ))
.into(), .into(),
); );
} }