💚 ci: fix husky
parent
906be79144
commit
33a9e5c673
|
|
@ -38,3 +38,4 @@ config.yml
|
|||
yarn.lock
|
||||
venv
|
||||
temp
|
||||
.husky/prepare-commit-msg
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env sh
|
||||
# gitmoji as a commit hook
|
||||
if npx -v >&/dev/null
|
||||
then
|
||||
exec < /dev/tty
|
||||
npx -c "gitmoji --hook $1 $2"
|
||||
else
|
||||
exec < /dev/tty
|
||||
gitmoji --hook $1 $2
|
||||
fi
|
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue