Skip to content

Commit

Permalink
ghwf debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Feb 1, 2024
1 parent a58d2cc commit ab491ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ab491ec

Please sign in to comment.