]> git.scottworley.com Git - pluta-lesnura/commitdiff
Hooks should not require network access
authorScott Worley <scottworley@scottworley.com>
Fri, 14 Jul 2023 00:45:22 +0000 (17:45 -0700)
committerScott Worley <scottworley@scottworley.com>
Fri, 14 Jul 2023 00:45:22 +0000 (17:45 -0700)
git-pre-commit-hook

index 1cc63cba1a6866818e863927880424652356db9e..7b44b54a94dabfae75450b44965f92fbd9e6c3b8 100755 (executable)
@@ -30,7 +30,7 @@ in_git_index_in_tmpdir() {
 }
 
 verify() {
 }
 
 verify() {
-  cargo test
+  cargo test --offline
   cargo clippy -- -D warnings -W clippy::pedantic
   rustfmt --check src/*.rs
 }
   cargo clippy -- -D warnings -W clippy::pedantic
   rustfmt --check src/*.rs
 }