diff --git a/Makefile b/Makefile index e04fb4e3..2e4dadab 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ cover: go test -race -coverprofile=coverage.txt -covermode=atomic ${DIR_PKG}/... ifeq ($(TRAVIS_BRANCH)$(TRAVIS_PULL_REQUEST), masterfalse) ifneq ($(CODECOV_TOKEN), ) - bash <(curl -s https://codecov.io/bash) + curl -s https://codecov.io/bash | bash else $(error "CODECOV_TOKEN token is required") endif