aboutsummaryrefslogtreecommitdiff
path: root/crates/tools/src/bin
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-01-26 23:03:52 +0000
committerAleksey Kladov <[email protected]>2019-01-26 23:30:54 +0000
commit7177fffd7b65c584b22abe42ec9845ec0a70565c (patch)
tree5234e75cdbc7be20be681d5f5565bd5287c66dc7 /crates/tools/src/bin
parente40d8d40321b191ee82b8b07910f8a0898c8914c (diff)
fix verification on CI
remove `--verify` flag from the binaries: we have tests for this!
Diffstat (limited to 'crates/tools/src/bin')
-rw-r--r--crates/tools/src/bin/pre-commit.rs7
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 @@
1use std::{ 1use std::process::Command;
2 process::{Command},
3};
4 2
5use tools::{Result, run_rustfmt, run, project_root};
6use failure::bail; 3use failure::bail;
7 4
5use tools::{Result, run_rustfmt, run, project_root};
6
8fn main() -> tools::Result<()> { 7fn main() -> tools::Result<()> {
9 run_rustfmt(tools::Overwrite)?; 8 run_rustfmt(tools::Overwrite)?;
10 update_staged() 9 update_staged()