Skip to content

Commit

Permalink
chore: skip hook if HUSKY env var is set to 0 (#29283)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Jun 14, 2023
1 parent 8f96688 commit b921d86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[ "$HUSKY" = "0" ] && echo "skipping push hook" && exit 0

yarn lint && \
yarn testunit

0 comments on commit b921d86

Please sign in to comment.