Reformat precommit hook with shfmt

This commit is contained in:
Marko Korhonen 2022-10-26 14:09:50 +03:00
parent bddcb64be8
commit 3614b66354
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890

View file

@ -26,7 +26,7 @@ num_staged_lua=$(echo "$staged_lua" | grep -vce '^$' || true)
if [ "$num_staged_lua" -gt 0 ]; then
printf '\nFormatting %s staged Lua files with stylua\n' "$num_staged_lua"
for file in $staged_lua;do
for file in $staged_lua; do
stylua "$file"
done