fix(pre-commit): add formatted sql files

This commit is contained in:
Cory Dransfeldt 2025-06-18 11:37:12 -07:00
parent 4be7a15a18
commit bb626cb178
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View file

@ -24,6 +24,7 @@ if [ $? -ne 0 ]; then
exit 1
else
echo "${COLOR_GREEN}✅ SQL formatted successfully.${COLOR_RESET}"
git ls-files -m '*.sql' | xargs -r git add
fi
echo "${COLOR_GREEN}🎉 All pre-commit checks passed. Committing!${COLOR_RESET}"