Skip to content

Commit bc43a4f

Browse files
chore: do not stage changes in pre-commit
1 parent 7b93be4 commit bc43a4f

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
@@ -8,4 +8,4 @@ npx --no-install lint-staged
88
git diff --name-only --cached | xargs ls -1 2>/dev/null | grep '\.rb$' | xargs bundle exec rubocop --force-exclusion -a
99

1010
# stage rubocop changes to files
11-
git diff --name-only --cached | xargs git add
11+
# git diff --name-only --cached | xargs git add

0 commit comments

Comments
 (0)