~starkingdoms/starkingdoms

025d278827d8104271101261c12fa8672bdf05ac — core 2 years ago d576aaa
update precommit again
1 files changed, 1 insertions(+), 1 deletions(-)

M .git-hooks/pre-commit
M .git-hooks/pre-commit => .git-hooks/pre-commit +1 -1
@@ 6,7 6,7 @@ HAS_ISSUES=0
FIRST_FILE=1

for file in $(git diff --name-only --staged); do
    FMT_RESULT="$(rustfmt --skip-children --force --write-mode diff $file 2>/dev/null || true)"
    FMT_RESULT="$(rustfmt --edition 2021 --skip-children --force --write-mode diff $file 2>/dev/null || true)"
    if [ "$FMT_RESULT" != "" ]; then
        if [ $FIRST_FILE -eq 0 ]; then
            echo -n ", "