mirror of
https://github.com/Azure/setup-kubectl.git
synced 2025-12-12 21:21:19 +00:00
Add informative condition message.
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
This commit is contained in:
parent
35cc065207
commit
4a0b6a9bdc
1 changed files with 8 additions and 1 deletions
|
|
@ -1,2 +1,9 @@
|
||||||
|
set +e
|
||||||
npm test
|
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
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue