Files
tkmind_go/.husky/pre-commit
T

9 lines
297 B
Plaintext
Raw Normal View History

# Only auto-format desktop TS code if relevant files are modified
if git diff --cached --name-only | grep -q "^ui/desktop/"; then
if [ -d "ui/desktop" ]; then
2026-03-11 08:46:05 -04:00
cd ui/desktop && pnpm exec lint-staged
else
echo "Warning: ui/desktop directory does not exist, skipping lint-staged"
fi
2025-04-28 07:20:00 -07:00
fi