aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-18 14:47:04 +0000
committerGitHub <[email protected]>2019-12-18 14:47:04 +0000
commitc651cf7cd11255b06d1be6cd0fb61b93461fabf4 (patch)
tree409f4d550e34759a5863d8e7a8dac7564e178785 /xtask/src
parente0d9d755100bdbdd29cffe3ec54e7a98acfffb53 (diff)
parent6e48a5bf9121f94bd91c9066fc7c4814fb88aff2 (diff)
Merge #2586
2586: Make reformat hook actually reformat files r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
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")