Skip to content

Commit

Permalink
chore: ad s
Browse files Browse the repository at this point in the history
chore
  • Loading branch information
wkylin committed Oct 10, 2024
1 parent f9b8271 commit cb946ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

exec < /dev/tty && npx cz --hook || true
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,7 @@ npm version [| major | minor | patch | premajor | preminor | prepatch | prerelea
npx husky add .husky/pre-commit "npx lint-staged"
npx husky add .husky/pre-commit "npx pretty-quick --staged"
npx husky add .husky/commit-msg 'npx --no-install commitlint --edit'
npx husky add .husky/prepare-commit-msg 'exec < /dev/tty && npx cz --hook || true'
```
## Show your support
Expand Down

0 comments on commit cb946ce

Please sign in to comment.