From 3614b66354d3c419ca849bdcc3b437c045bcb027 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 26 Oct 2022 14:09:50 +0300 Subject: [PATCH] Reformat precommit hook with shfmt --- .husky/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index b214b95..7bcd182 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -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