From fa3dbac3c18ecf3238b141e6aea1dddcb388e65b Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 30 Sep 2025 11:27:10 -0400 Subject: Fix some weird whitespace --- pre-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pre-commit.sh') diff --git a/pre-commit.sh b/pre-commit.sh index 3553140..ccf1943 100755 --- a/pre-commit.sh +++ b/pre-commit.sh @@ -6,5 +6,5 @@ # Check for trailing whitespace git grep -In ' $' && { echo 'Fix trailing whitespace!'; exit 1; } -git grep -In '\w'"$(printf '\t')"'$' && { echo 'Fix trailing whitespace!'; exit 1; } +git grep -In '\S'"$(printf '\t')" && { echo 'Fix trailing whitespace!'; exit 1; } exit 0 -- cgit v1.2.3