Skip to content

Commit 3c9484b

Browse files
committed
chore: merge to fix logger
1 parent 8008546 commit 3c9484b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.husky/pre-commit

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
3-
# 检查是否处于 rebase 状态
4-
if [ -z "$(git rev-parse --git-dir 2> /dev/null)" ]; then
5-
# 不处于 rebase 状态,执行 lint 和 format
6-
echo "lint and format before commit"
7-
npm run lint && npm run format
8-
fi
3+
echo "lint and format before commit"
4+
#npm run lint && npm run format

0 commit comments

Comments
 (0)