Make reformat hook actually reformat files

This commit is contained in:
Aleksey Kladov 2019-12-18 15:40:48 +01:00
parent 46ca40ccfc
commit 6e48a5bf91

View file

@ -144,6 +144,7 @@ pub fn run_fuzzer() -> Result<()> {
}
pub fn reformat_staged_files() -> Result<()> {
run_rustfmt(Mode::Overwrite)?;
let root = project_root();
let output = Command::new("git")
.arg("diff")