Skip to content

Commit

Permalink
fix: husky dist commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brenoepics committed May 16, 2024
1 parent 0851705 commit ad6bc9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pnpm preflight
#!/bin/sh# Check if there are changes in /distpnpm preflightif git diff --quiet --exit-code -- dist/; then # No changes in /dist echo "No changes in /dist"else # Changes detected in /dist echo "Changes detected in /dist, adding to commit" git add dist/ git commit --amend --no-edit -m "chore: bump dist"fi
Expand Down

0 comments on commit ad6bc9c

Please sign in to comment.