fix(husky): 在钩子中添加时间跟踪以优化性能
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# 此钩子在执行 git commit 命令时,在创建提交之前运行。
|
||||
echo "🧹 [Pre-commit] 正在运行 lint-staged..."
|
||||
pnpm exec lint-staged
|
||||
echo "✅ [Pre-commit] lint-staged 完成!"
|
||||
time pnpm exec lint-staged
|
||||
echo "🧹 [Pre-commit] lint-staged 完成!"
|
||||
|
||||
Reference in New Issue
Block a user