blob: 0c2aa2281619cc0e5a7a4a7e236ae0573b590ab6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
FILE_NAME="$(dirname "$0")/_/husky.sh"
# Conditionally invoke so as to avoid running npm commands if this is a clean checkout (ie before installing npm modules)
if [ -f $FILE_NAME ]; then
. $FILE_NAME
( exec < /dev/tty && git cz --hook ) || true
fi
|