Add informative condition message.

Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
Tatsat Mishra 2025-06-28 10:55:29 +12:00
parent 35cc065207
commit 4a0b6a9bdc
No known key found for this signature in database
GPG key ID: 314561C38E2C59F4

View file

@ -1,2 +1,9 @@
set +e
npm test
npm run format-check
# Run format check
npm run format-check || {
echo ""
echo "❌ Formatting check failed."
echo "💡 Run 'npm run format' or 'prettier --write .' to fix formatting issues."
exit 1
}