Skip to content

Commit

Permalink
build: switch method for gofmt check
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Jul 19, 2021
1 parent 95f6581 commit e118065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
command: go version
- run:
name: "Enforce Go Formatted Code"
command: "! go fmt ./... 2>&1 | read"
command: "test -z $(gofmt -l .) || gofmt -d ."
- run:
name: Install dependencies
command: |
Expand Down

0 comments on commit e118065

Please sign in to comment.