2021-11-02 05:53:27 -05:00
|
|
|
#!/bin/sh
|
2022-04-29 08:01:02 -05:00
|
|
|
|
|
|
|
# Ignore husky hooks if no frontend code has been changed
|
|
|
|
git diff --cached --name-only | grep -v --quiet "^pkg/" || exit 0
|
|
|
|
|
2021-11-02 05:53:27 -05:00
|
|
|
. "$(dirname "$0")/_/husky.sh"
|
|
|
|
|
|
|
|
yarn run precommit
|