fix(husky): 在钩子中添加时间跟踪以优化性能
CI/CD Pipeline / playwright (push) Successful in 2m7s
CI/CD Pipeline / build-and-deploy (push) Successful in 4m9s

This commit is contained in:
严浩 committed 2025-10-22 00:48:33 +08:00
1 parent 26f3348b28
commit 8d80a24203
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -8,6 +8,6 @@ cat $1
echo "🟢 [Commit-msg] Node 版本:$(node -v)"
# pnpm exec commitlint --edit $1
node node_modules/@commitlint/cli/cli.js --edit $1
time node node_modules/@commitlint/cli/cli.js --edit $1
echo "✅ [Commit-msg] commit-msg 钩子完成!"
echo "📝 [Commit-msg] commit-msg 钩子完成!"