Skip to content

Commit

Permalink
update githook
Browse files Browse the repository at this point in the history
  • Loading branch information
TimGW committed Aug 21, 2022
1 parent ef16b3d commit fdecc30
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,3 @@ if [ "$branch" = "main" ]; then
echo "You can't commit directly to main branch"
exit 1
fi

./gradlew ktlintFormat --daemon

status=$?

[ $status -ne 0 ] && exit 1
exit 0

0 comments on commit fdecc30

Please sign in to comment.