mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-19 20:01:08 -05:00
13 lines
228 B
Plaintext
13 lines
228 B
Plaintext
branch="$(git rev-parse --abbrev-ref HEAD)"
|
|
|
|
if [ "$branch" = "main" ]; then
|
|
echo "You can't commit directly to main - please check out a branch."
|
|
exit 1
|
|
fi
|
|
|
|
npx lint-staged
|
|
|
|
npm run compile
|
|
npm run lint
|
|
npm run check-types
|