diff --git a/.make/Makefile.go b/.make/Makefile.go index 2f31537..ec0672c 100644 --- a/.make/Makefile.go +++ b/.make/Makefile.go @@ -42,7 +42,7 @@ install-go: ## Install the application (Using Native Go) lint: ## Run the golangci-lint application (install if not found) #@if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0; fi; - @if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.31.0 && sudo cp ./bin/golangci-lint $GOPATH/bin/; fi; + @if [ "$(shell command -v golangci-lint)" = "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.31.0 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi; @echo "running golangci-lint..." @golangci-lint run