fix(pre-commit): improve monorepo handling and failure messaging (#9123)

Co-authored-by: matt korwel <matt.korwel@gmail.com>
This commit is contained in:
Keith Lyons
2025-09-23 11:57:24 -04:00
committed by GitHub
parent c93eed6384
commit 82625fc07a
3 changed files with 32 additions and 2 deletions

View File

@@ -1 +1,9 @@
npm run pre-commit
npm run pre-commit || {
echo ''
echo '===================================================='
echo 'pre-commit checks failed. in case of emergency, run:'
echo ''
echo 'git commit --no-verify'
echo '===================================================='
exit 1
}