Reformat precommit hook with shfmt

main
Marko Korhonen 2 years ago
parent bddcb64be8
commit 3614b66354
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

@ -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

Loading…
Cancel
Save