Files
goose/.husky/pre-commit
T

9 lines
291 B
Plaintext
Executable File

# 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
cd ui/desktop && npx lint-staged
else
echo "Warning: ui/desktop directory does not exist, skipping lint-staged"
fi
fi