💚 ci: fix husky

This commit is contained in:
倏昱 2023-04-23 18:34:44 +08:00
parent 906be79144
commit 33a9e5c673
3 changed files with 19 additions and 28 deletions

1
.gitignore vendored
View File

@ -38,3 +38,4 @@ config.yml
yarn.lock
venv
temp
.husky/prepare-commit-msg

View File

@ -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