From 0714539db698534ec5c34e4ee7d370439e293cac Mon Sep 17 00:00:00 2001 From: Scott Worley Date: Thu, 13 Jul 2023 17:45:22 -0700 Subject: [PATCH] Hooks should not require network access --- git-pre-commit-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-pre-commit-hook b/git-pre-commit-hook index 1cc63cb..7b44b54 100755 --- a/git-pre-commit-hook +++ b/git-pre-commit-hook @@ -30,7 +30,7 @@ in_git_index_in_tmpdir() { } verify() { - cargo test + cargo test --offline cargo clippy -- -D warnings -W clippy::pedantic rustfmt --check src/*.rs } -- 2.44.1