Skip to content

Commit b6ac23b

Browse files
committed
chore: update husky var to latest
1 parent b27c82f commit b6ac23b

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
@@ -2,6 +2,6 @@
22
# 导入 Husky 脚本
33
. "$(dirname -- "$0")/_/husky.sh"
44
# 如果要执行 rebase 需要跳过当前所有hooks
5-
# todo-highlight HUSKY_SKIP_HOOKS=1 git rebase ...
5+
# todo-highlight HUSKY=0 git rebase ...
66
echo "Running pre-commit script..."
77
npm run lint && npm run format

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"create-color-font": "node scripts/create-color-font.js",
4545
"release": "release-it",
4646
"try-release": "release-it --dry-run",
47-
"rebase": "HUSKY_SKIP_HOOKS=1 git rebase "
47+
"rebase": "HUSKY=0 git rebase "
4848
},
4949
"dependencies": {
5050
"@inquirer/input": "^2.0.1",

0 commit comments

Comments
 (0)