From ab491ecab2579376525f8a625d3110870b8215fc Mon Sep 17 00:00:00 2001 From: garrettladley Date: Thu, 1 Feb 2024 01:24:14 -0500 Subject: [PATCH] ghwf debugging --- .github/workflows/backend.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index 009623f75..e4da8ba34 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -30,11 +30,11 @@ jobs: - name: Check code formatting run: | go install mvdan.cc/gofumpt@latest - unformatted_files=$(gofumpt -l ./backend/ | grep ".go$") + unformatted_files=$(gofumpt -l ./backend/ 2>/dev/null | grep ".go$") if [ -n "$unformatted_files" ]; then echo "Files not formatted:" echo "$unformatted_files" - exit 1 # Exit with a non-zero status code to indicate failure + exit 1 fi lint: