diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-26 23:35:49 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-26 23:35:49 +0000 |
commit | 2577a65684a61fe8ef9159809ca5352c9ac2e61d (patch) | |
tree | 507d92f82bbcd214c625caf17eb4c120754c5d7c /crates/tools/src/bin/pre-commit.rs | |
parent | 7f9a6521efc6939bb395238d249ee3a397fa4446 (diff) | |
parent | 7177fffd7b65c584b22abe42ec9845ec0a70565c (diff) |
Merge #687
687: fix verificatio on ci r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/tools/src/bin/pre-commit.rs')
-rw-r--r-- | crates/tools/src/bin/pre-commit.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crates/tools/src/bin/pre-commit.rs b/crates/tools/src/bin/pre-commit.rs index bae3b26d3..e00bd0d3d 100644 --- a/crates/tools/src/bin/pre-commit.rs +++ b/crates/tools/src/bin/pre-commit.rs | |||
@@ -1,10 +1,9 @@ | |||
1 | use std::{ | 1 | use std::process::Command; |
2 | process::{Command}, | ||
3 | }; | ||
4 | 2 | ||
5 | use tools::{Result, run_rustfmt, run, project_root}; | ||
6 | use failure::bail; | 3 | use failure::bail; |
7 | 4 | ||
5 | use tools::{Result, run_rustfmt, run, project_root}; | ||
6 | |||
8 | fn main() -> tools::Result<()> { | 7 | fn main() -> tools::Result<()> { |
9 | run_rustfmt(tools::Overwrite)?; | 8 | run_rustfmt(tools::Overwrite)?; |
10 | update_staged() | 9 | update_staged() |