mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-05 19:50:06 +00:00
chore: pre commit hook
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
if npm run --silent lint:silent ; then
|
||||
exit 0
|
||||
else
|
||||
echo "❌ Prettier check failed! Please run lint:fix."
|
||||
npm run --silent lint:fix
|
||||
echo "❌ Prettier check failed! We ran lint:fix for you. Please add & commit again."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user