fix: 修复代码提交前验证流程

This commit is contained in:
ChenZhaoYu
2023-02-13 20:55:26 +08:00
parent 910c19b02e
commit e35abb1c98
3 changed files with 4 additions and 4 deletions

2
.husky/pre-commit Normal file → Executable file
View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm exec lint-staged
npx lint-staged