Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: drop double screenpipe- prefix in lefthook clippy hook (#4001)

Vitalik5a168d0fa111
diff --git a/lefthook.yml b/lefthook.yml
index cfcac39d0..a724b6022 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -28,7 +28,7 @@ pre-commit:
crates=$(echo "{staged_files}" | tr ' ' '\n' \
| grep -oE 'crates/[^/]+' | sort -u | sed 's|crates/||')
for c in $crates; do
- cargo clippy -p "screenpipe-$c" --all-targets -- -W clippy::all
+ cargo clippy -p "$c" --all-targets -- -W clippy::all
done
biome: