Skip to content

Commit c245620

Browse files
committed
chore: do not run pre-commit hook on CI
1 parent 0188b5f commit c245620

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
[ -n "$CI" ] && exit 0
3+
24
. "$(dirname "$0")/_/husky.sh"
35

46
yarn lint-staged

0 commit comments

Comments
 (0)