Skip to content

Commit

Permalink
Merge pull request #349 from Jakub007d/linters-fix
Browse files Browse the repository at this point in the history
Fixing Go linters tests
  • Loading branch information
Jakub007d authored Oct 2, 2024
2 parents 22c542f + 077576a commit f0182f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion goerrcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo -e "${BLUE}Finding all unchecked errors${NC}"
if ! [ -x "$(command -v errcheck)" ]
then
echo -e "${BLUE}Installing errcheck ${NC}"
GO111MODULE=off go get github.com/kisielk/errcheck
GO111MODULE=on go install github.com/kisielk/errcheck@latest
fi


Expand Down
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 f0182f3

Please sign in to comment.