diff --git a/.husky/commit-msg b/.husky/commit-msg index 72d126d..23fc309 100644 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -8,6 +8,6 @@ cat $1 echo "🟢 [Commit-msg] Node 版本:$(node -v)" # pnpm exec commitlint --edit $1 -time node node_modules/@commitlint/cli/cli.js --edit $1 +node node_modules/@commitlint/cli/cli.js --edit $1 echo "📝 [Commit-msg] commit-msg 钩子完成!" diff --git a/.husky/post-merge b/.husky/post-merge index 254eb53..db86b04 100644 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,4 +1,4 @@ # 此钩子在 git merge 或 git pull 成功完成后运行。 echo "🔗 [Post-merge] 正在安装依赖..." -time pnpm install +pnpm install echo "🔗 [Post-merge] 依赖安装完成!" diff --git a/.husky/pre-commit b/.husky/pre-commit index c95487a..6e8f37e 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,6 @@ # 此钩子在执行 git commit 命令时,在创建提交之前运行。 echo "🧹 [Pre-commit] 正在运行 lint-staged..." -time pnpm exec lint-staged -time pnpm run lint:vue-i18n-extract -# time pnpm run type-check +pnpm exec lint-staged +pnpm run lint:vue-i18n-extract +# pnpm run type-check echo "🧹 [Pre-commit] lint-staged 完成!"