Skip to content

Commit 32b24a1

Browse files
thinkasanywh131462
authored andcommitted
chore(pre-commit): modify command (#49)
1 parent 78bf136 commit 32b24a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# 如果要执行 rebase 需要跳过当前所有hooks
55
# todo-highlight HUSKY=0 git rebase ...
66
echo "Running pre-commit script..."
7-
npm run lint && npm run format && git add .
7+
npm run lint && npm run format

0 commit comments

Comments
 (0)