Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
fix goimports install
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcz committed Jun 17, 2021
1 parent 5e158bc commit c1d1053
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 @@ -21,7 +21,7 @@ target:
.PHONY: format
format:
ifeq (, $(shell which goimports))
go install golang.org/x/tools/cmd/goimports
go get golang.org/x/tools/cmd/goimports
endif
@echo "Running goimports ..."
@goimports -w -local github.com/tomcz/openldap_exporter $(shell find . -type f -name '*.go' | grep -v '/vendor/')
Expand Down

0 comments on commit c1d1053

Please sign in to comment.