blob: acf27d9e06756fc0d2067548880d84b5c0576448 (
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 pnpm commands if this is a clean checkout (ie before installing node modules)
if [ -f $FILE_NAME ]; then
. $FILE_NAME
npx --no-install commitlint --edit "$1"
fi
|