Reformat precommit hook with shfmt
This commit is contained in:
parent
16e59402c7
commit
b114f1851e
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
|
||||
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…
Add table
Add a link
Reference in a new issue