Skip to content

Commit 8b24ada

Browse files
authored
chore: enable gh pre-commit hook to run after husky (#4322)
Signed-off-by: Kim Tsao <ktsao@redhat.com>
1 parent b4767eb commit 8b24ada

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
. "$(dirname -- "$0")/_/husky.sh"
33

44
npm run lint-staged
5+
6+
if [ -x .git/hooks/pre-commit ]; then
7+
exec .git/hooks/pre-commit
8+
fi

0 commit comments

Comments
 (0)