mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-03-03 20:32:16 +08:00
* Add husky precommit hook. Signed-off-by: Tatsat Mishra <tamishra@microsoft.com> * Add husky precommit hook. Signed-off-by: Tatsat Mishra <tamishra@microsoft.com> * Add more informative messaging. Signed-off-by: Tatsat Mishra <tamishra@microsoft.com> --------- Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
npm test
|
|
npm run format-check || {
|
|
echo ""
|
|
echo "❌ Formatting check failed."
|
|
echo "💡 Run 'npm run format' or 'prettier --write .' to fix formatting issues."
|
|
exit 1
|
|
} |