Add debug output
This commit is contained in:
parent
7c401dc380
commit
2017874a8b
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ pub fn edit_in_tmpfile_with_command(mut cmd: Command, s: &mut String) -> Result<
|
||||||
file.write_all(&s.clone().into_bytes()[..])?;
|
file.write_all(&s.clone().into_bytes()[..])?;
|
||||||
file.sync_data()?;
|
file.sync_data()?;
|
||||||
|
|
||||||
|
debug!("Calling {:?} for {}", cmd, file_path.display());
|
||||||
|
|
||||||
cmd.arg(file_path)
|
cmd.arg(file_path)
|
||||||
.status()
|
.status()
|
||||||
.and_then(|status| {
|
.and_then(|status| {
|
||||||
|
|
Loading…
Reference in a new issue