Reformat precommit hook with shfmt
This commit is contained in:
parent
bddcb64be8
commit
3614b66354
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ num_staged_lua=$(echo "$staged_lua" | grep -vce '^$' || true)
|
||||||
if [ "$num_staged_lua" -gt 0 ]; then
|
if [ "$num_staged_lua" -gt 0 ]; then
|
||||||
printf '\nFormatting %s staged Lua files with stylua\n' "$num_staged_lua"
|
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"
|
stylua "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue