From 9d47bc66c4c4624c4a2e760a13edbcd89bde5a14 Mon Sep 17 00:00:00 2001 From: Slinetrac Date: Wed, 8 Oct 2025 08:10:33 +0800 Subject: [PATCH] chore: unify hook behavior to prevent cross-platform CI failures --- .husky/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-push b/.husky/pre-push index 5bd6712a..11c61961 100644 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -4,7 +4,7 @@ # $2: remote url (e.g., git@github.com:clash-verge-rev/clash-verge-rev.git) if git diff --cached --name-only | grep -q '^src-tauri/'; then - cargo clippy --manifest-path ./src-tauri/Cargo.toml + cargo clippy --manifest-path ./src-tauri/Cargo.toml -- -D warnings if [ $? -ne 0 ]; then echo "Clippy found issues in src-tauri. Please fix them before pushing." exit 1