Skip to content

Commit 65c27dd

Browse files
kyu08stefanhaller
andcommitted
Remove workaround for "make format"
When a new enough gofumpt version is used (v0.9.0 or later), it suports the `ignore` directive that we just added, so the workaround is no longer needed. Co-authored-by: Stefan Haller <[email protected]>
1 parent 76452a0 commit 65c27dd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ test: unit-test integration-test-all
3434
generate:
3535
go generate ./...
3636

37-
# If you execute `gofumpt -l -w .`, it will format all Go files in the current directory, including `test/_results/*` files.
38-
# We pass only Git-tracked Go files to gofumpt because we don't want to format the test results or get errors from it.
3937
.PHONY: format
4038
format:
41-
git ls-files '*.go' ':!vendor' | xargs gofumpt -l -w
39+
gofumpt -l -w .
4240

4341
.PHONY: lint
4442
lint:

0 commit comments

Comments
 (0)