From 28addf329a54366ec4ca2da1ecebe039e8db4954 Mon Sep 17 00:00:00 2001 From: Pat Whittingslow Date: Mon, 22 Jun 2026 18:16:29 -0300 Subject: [PATCH] try to fix fmt msg (#133) * try to fix fmt msg * fix CI --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fa61739..3c7f362 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,9 +20,9 @@ jobs: - name: gofmt run: | - unformatted=$(gofmt -l .) + unformatted=$(gofmt -l -d . 2>&1) || true if [ -n "$unformatted" ]; then - echo "::error::Files not formatted with gofmt:" + echo "::error::File(s) not formatted with gofmt:" echo "$unformatted" exit 1 fi