diff options
author | pommicket <pommicket@gmail.com> | 2025-09-30 11:27:10 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-30 11:27:10 -0400 |
commit | fa3dbac3c18ecf3238b141e6aea1dddcb388e65b (patch) | |
tree | f84e477f5b591125aff10091f0c9bf84952f370c /pre-commit.sh | |
parent | 270aa1468d95ef4b6a622ab80d2769ac2aaf6694 (diff) |
Fix some weird whitespace
Diffstat (limited to 'pre-commit.sh')
-rwxr-xr-x | pre-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |