Skip to content

Commit

Permalink
πŸ“Œ Husky and Gitmoji CLI (#831)
Browse files Browse the repository at this point in the history
* πŸ“Œ [email protected]

* πŸ”₯ unused file after husky update

* πŸ“Œ [email protected]

* πŸ› prepare-commit-msg hook

it required gitmoji to be globally installed
  • Loading branch information
viniciuskneves authored Oct 8, 2021
1 parent d60b476 commit ffed540
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 163 deletions.
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

exec < /dev/tty && gitmoji --hook $1 || true
exec < /dev/tty
npx gitmoji --hook $1 $2
Loading

0 comments on commit ffed540

Please sign in to comment.