Skip to content

Commit

Permalink
fix(ci): husky pt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
QcFe committed Feb 13, 2025
1 parent bfc23ff commit dce72b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env sh
npx --no -- commitlint --edit "$1"
bash << EOF
npx --no -- commitlint --edit "$1"
EOF
5 changes: 3 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env sh
npx lint-staged
bash << EOF
npx lint-staged
EOF
5 changes: 3 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/usr/bin/env sh
npm run check
bash << EOF
npm run check
EOF

0 comments on commit dce72b7

Please sign in to comment.