fix cover.sh
diff --git a/cover.sh b/cover.sh index 422ebb3..c866ea1 100755 --- a/cover.sh +++ b/cover.sh
@@ -19,11 +19,9 @@ set -e echo "mode: atomic" > coverage.txt -for d in $(go list ./... | grep -v vendor); do - go test -coverprofile=profile.out -covermode=atomic $d - if [ -f profile.out ]; then - tail +2 profile.out >> coverage.txt - rm profile.out - fi -done +go test -coverprofile=profile.out -covermode=atomic github.com/30x/apidApigeeSync +if [ -f profile.out ]; then + tail -n +2 profile.out >> coverage.txt + rm profile.out +fi go tool cover -html=coverage.txt -o cover.html