From 63c911eab08e36bc76aa3ff65acdf9a401e6718f Mon Sep 17 00:00:00 2001 From: Papa Bakary Camara Date: Mon, 30 Sep 2024 14:58:21 +0200 Subject: [PATCH] Fix inefassign --- ineffassign.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ineffassign.sh b/ineffassign.sh index a1c30a15..8f446744 100755 --- a/ineffassign.sh +++ b/ineffassign.sh @@ -24,7 +24,7 @@ echo -e "${BLUE}Detecting ineffectual assignments in Go code${NC}" if ! [ -x "$(command -v ineffassign)" ] then echo -e "${BLUE}Installing ineffassign${NC}" - GO111MODULE=off go get github.com/gordonklaus/ineffassign + GO111MODULE=on go install github.com/gordonklaus/ineffassign@latest fi if ! ineffassign ./...