From ebe80914d2937696128d6715edd6adc465abce3f Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sun, 28 May 2023 11:43:03 +0200 Subject: [PATCH] Change rusty-hook to be pre-commit --- .rusty-hook.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.rusty-hook.toml b/.rusty-hook.toml index b1bd0ab..033f863 100644 --- a/.rusty-hook.toml +++ b/.rusty-hook.toml @@ -1,5 +1,5 @@ [hooks] -pre-push = "cargo fmt --all -- --check --color always" +pre-commit = "cargo fmt -p chorus && exit 0" [logging] verbose = true