sozorogami / gover

Gather all your *.coverprofile files to send to coveralls.io!
Apache License 2.0
56 stars 9 forks source link

Two cover entries were not separated #9

Open edwardstudy opened 7 years ago

edwardstudy commented 7 years ago

When run command gover to gather these *.coverprofile files after ran test. An error has occur:

/bosh-softlayer-cpi-release# COVERALLS_TOKEN=TOKEN_TEST goveralls -coverprofile=gover.coverprofile -service=travis-ci
06:28:24 gocover.go:91: Can't find can't find "json.go": cannot find package "bosh-softlayer-cpi/action/create_stemcell.go:33.16,35.3 1 1bosh-softlayer-cpi/api/dispatcher/" in any of:
    (from $GOROOT)
    (from $GOPATH)

The line of string bosh-softlayer-cpi/action/create_stemcell.go:33.16,35.3 1 1bosh-softlayer-cpi/api/dispatcher/ was combined two *.coverprofile in two paths should have be spilted.

I have to split these error lines manually now. That is very grateful if you guys fix this issue.

edwardstudy commented 7 years ago

Well, I found the the missing \n in *.coverporfile occured this issue. And my fileformat is Unix. further detail may continue.

edwardstudy commented 7 years ago

Add my solution of PR #10