Skip to content

Commit

Permalink
fix errorcheck install in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dbinnal-px authored and px-kesavan committed Sep 20, 2024
1 parent 48a356d commit f4c7e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ staticcheck:
errcheck:
docker run --rm -v $(shell pwd):/go/src/github.com/portworx/kdmp $(DOCK_BUILD_CNT) \
/bin/bash -c "cd /go/src/github.com/portworx/kdmp; \
GO111MODULE=off go get -u github.com/kisielk/errcheck; \
go install github.com/kisielk/errcheck@v1.7.0; \
git config --global --add safe.directory /go/src/github.com/portworx/kdmp; \
errcheck -ignoregenerated -ignorepkg fmt -verbose -blank $(PKGS); \
errcheck -ignoregenerated -ignorepkg fmt -verbose -blank -tags unittest $(PKGS)"
Expand Down

0 comments on commit f4c7e34

Please sign in to comment.