From 7177fffd7b65c584b22abe42ec9845ec0a70565c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 27 Jan 2019 02:03:52 +0300 Subject: fix verification on CI remove `--verify` flag from the binaries: we have tests for this! --- crates/tools/src/bin/pre-commit.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'crates/tools/src/bin') 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 @@ -use std::{ - process::{Command}, -}; +use std::process::Command; -use tools::{Result, run_rustfmt, run, project_root}; use failure::bail; +use tools::{Result, run_rustfmt, run, project_root}; + fn main() -> tools::Result<()> { run_rustfmt(tools::Overwrite)?; update_staged() -- cgit v1.2.3