diff --git a/.husky/pre-commit b/.husky/pre-commit index 799cd8f..3bcac61 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1,2 @@ pnpm run format:fix +git diff --name-only -- 'src/**/*.ts' | xargs git add 2>/dev/null || true