Skip to content

Commit c9074e3

Browse files
committed
Fix husky
1 parent 41f6816 commit c9074e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npm run format:fix-diff
4+
npm run format:fix-diff || npm run format:fix

.husky/pre-push

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npm run format:check-diff
4+
npm run format:check-diff || npm run format:check

0 commit comments

Comments
 (0)