aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-18 14:40:48 +0000
committerAleksey Kladov <[email protected]>2019-12-18 14:45:24 +0000
commit6e48a5bf9121f94bd91c9066fc7c4814fb88aff2 (patch)
tree47772173168994fceeae871d83bf9dd3cabf25f2 /xtask/src
parent46ca40ccfced6945e05a25979a2703ad967d2fe0 (diff)
Make reformat hook actually reformat files
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs
index 190baeddf..40a6682be 100644
--- a/xtask/src/lib.rs
+++ b/xtask/src/lib.rs
@@ -144,6 +144,7 @@ pub fn run_fuzzer() -> Result<()> {
144} 144}
145 145
146pub fn reformat_staged_files() -> Result<()> { 146pub fn reformat_staged_files() -> Result<()> {
147 run_rustfmt(Mode::Overwrite)?;
147 let root = project_root(); 148 let root = project_root();
148 let output = Command::new("git") 149 let output = Command::new("git")
149 .arg("diff") 150 .arg("diff")