Skip to content

Commit

Permalink
removed conditional check since go.mod has go version 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
RenuBhati authored and tekton-robot committed Jan 9, 2025
1 parent be2f28f commit c55e393
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ golangci-lint-check: | $(GOLANGCILINT) ; $(info $(M) Testing if golint has been
$Q $(GOLANGCILINT) run -j 1 --color=never

GOIMPORTS = $(BIN)/goimports
$(BIN)/goimports: PACKAGE=golang.org/x/tools/cmd/goimports
$(BIN)/goimports: | $(BIN) ; $(info $(M) building goimports…)
GOBIN=$(BIN) go install golang.org/x/tools/cmd/goimports@latest

.PHONY: goimports
goimports: | $(GOIMPORTS) ; $(info $(M) running goimports…) ## Run goimports
Expand Down

0 comments on commit c55e393

Please sign in to comment.