Skip to content

Commit 6c07654

Browse files
committed
Highlight whitespace errors in pre-commit diff output
1 parent 2d7537a commit 6c07654

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
extra_args: --all-files
1616
- name: Show diff of fixes
1717
if: failure()
18-
run: git diff
18+
run: git diff --ws-error-highlight=all

0 commit comments

Comments
 (0)