Files
tkmind_go/.husky/pre-commit
T

7 lines
222 B
Bash
Raw Normal View History

2025-01-24 13:04:43 -08:00
#!/usr/bin/env sh
# Only auto-format desktop TS code if relevant files are modified
if git diff --cached --name-only | grep -q "^ui/desktop/"; then
. "$(dirname -- "$0")/_/husky.sh"
cd ui/desktop && npx lint-staged
fi