Try to restore cargo fmt

This commit is contained in:
Roey Darwish Dror
2018-12-11 16:00:19 +02:00
parent 4c1d26e120
commit f23b6435bf
14 changed files with 84 additions and 46 deletions

View File

@@ -21,7 +21,8 @@ pub fn run_tpm(base_dirs: &BaseDirs, dry_run: bool) -> Option<(&'static str, boo
let success = || -> Result<(), Error> {
Executor::new(&tpm, dry_run).arg("all").spawn()?.wait()?.check()?;
Ok(())
}().is_ok();
}()
.is_ok();
return Some(("tmux", success));
}
@@ -70,7 +71,8 @@ pub fn run_in_tmux() -> ! {
"set",
"remain-on-exit",
"on",
]).exec();
])
.exec();
panic!("{:?}", err);
}