Skip to content

Commit

Permalink
Fix inefassign
Browse files Browse the repository at this point in the history
  • Loading branch information
epapbak committed Sep 30, 2024
1 parent c3cd761 commit 63c911e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ineffassign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
Expand Down

0 comments on commit 63c911e

Please sign in to comment.