Skip to content

Commit

Permalink
feat: run patch-package in pre-commit hook (#1679)
Browse files Browse the repository at this point in the history
Co-authored-by: iGroza <[email protected]>
  • Loading branch information
iGroza and iGroza authored Feb 15, 2024
1 parent e3db850 commit 221df2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
npx patch-package --error-on-fail

STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM | grep ".tsx\{0,1\}$")

Expand Down

0 comments on commit 221df2b

Please sign in to comment.