Skip to content

Commit

Permalink
chore: allow commits to main
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulr8 committed Jun 4, 2024
1 parent e3cf0c9 commit 0e01207
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
#!/bin/sh

branch="$(git rev-parse --abbrev-ref HEAD)"

if [ "$branch" = "main" ]; then
echo "You can't commit directly to main branch"
exit 1
fi

pnpm pre-commit

0 comments on commit 0e01207

Please sign in to comment.