Skip to content

Commit 5d2ff94

Browse files
committed
fix(build): cspell pre-commit checker fixed when all staged files are ignored by cspell's rules
#8
1 parent 2c38e25 commit 5d2ff94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
pnpm lint-staged
33

44
# run spell checker for staged files
5-
pnpm cspell --no-summary --no-progress --files $(git diff --diff-filter=d --name-only --cached)
5+
pnpm cspell --no-summary --no-progress --no-must-find-files --files $(git diff --diff-filter=d --name-only --cached)

0 commit comments

Comments
 (0)