Fix pre-commit.

pull/9/head
Joshua Potter 2023-11-24 12:29:53 -07:00
parent 9eeb858a9a
commit 52efac43bd
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ set -e
filesToFormat=$(
git --no-pager diff --name-status --no-color --cached | \
awk '$1 != "D" && $2 ~ /\.c\|\.h/ {print $NF}'
awk '$1 != "D" && $2 ~ /\.c|\.h/ {print $NF}'
)
for path in $filesToFormat