Skip to content

Commit

Permalink
Merge pull request #5684 from thaJeztah/gofumpt_go_version
Browse files Browse the repository at this point in the history
Makefile: use go1.22 semantics for gofumpt
  • Loading branch information
thaJeztah authored Dec 18, 2024
2 parents 3723f0b + b8fd205 commit 2f67b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ shellcheck: ## run shellcheck validation
.PHONY: fmt
fmt: ## run gofumpt (if present) or gofmt
@if command -v gofumpt > /dev/null; then \
gofumpt -w -d -lang=1.21 . ; \
gofumpt -w -d -lang=1.23 . ; \
else \
go list -f {{.Dir}} ./... | xargs gofmt -w -s -d ; \
fi
Expand Down

0 comments on commit 2f67b2f

Please sign in to comment.