Skip to content

Commit 63c911e

Browse files
committed
Fix inefassign
1 parent c3cd761 commit 63c911e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ineffassign.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ echo -e "${BLUE}Detecting ineffectual assignments in Go code${NC}"
2424
if ! [ -x "$(command -v ineffassign)" ]
2525
then
2626
echo -e "${BLUE}Installing ineffassign${NC}"
27-
GO111MODULE=off go get github.com/gordonklaus/ineffassign
27+
GO111MODULE=on go install github.com/gordonklaus/ineffassign@latest
2828
fi
2929

3030
if ! ineffassign ./...

0 commit comments

Comments
 (0)