mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-03-29 10:50:15 +00:00
fix(pre-commit): Remove unnecessary test expression
This commit is contained in:
@@ -51,15 +51,9 @@ repos:
|
||||
hooks:
|
||||
- id: cargo-clippy
|
||||
name: cargo clippy
|
||||
entry: >
|
||||
sh -c '
|
||||
if git diff --name-only HEAD @{u} | grep -qE "\.rs\$";
|
||||
then
|
||||
cargo +nightly clippy -- -D warnings;
|
||||
fi
|
||||
'
|
||||
entry: cargo +nightly clippy -- -D warnings
|
||||
language: system
|
||||
pass_filenames: false
|
||||
always_run: true
|
||||
types: [rust]
|
||||
stages:
|
||||
- pre-push
|
||||
|
||||
Reference in New Issue
Block a user