You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonar-scan can't parset coverage.out:ERROR: Error parsing coverage info for file /xxx/coverage.out: Invalid go coverage, expect 'mode:' on the first line.
#157
Closed
eyotang opened this issue
Jan 26, 2021
· 1 comment
sonar-scan can't parse the coverage.out generated by 'goc profile'
ERROR:
INFO: Load project repositories (done) | time=18ms
INFO: Load coverage report from '/xxx/coverage.out'
ERROR: Error parsing coverage info for file /xxx/coverage.out: Invalid go coverage, expect 'mode:' on the first line.
INFO: Sensor SonarGo [go] (done) | time=523ms
template with one blank in instrument.go
mux.HandleFunc("/v1/cover/profile", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, "mode: {{.Mode }} \n")
The text was updated successfully, but these errors were encountered:
eyotang
pushed a commit
to eyotang/goc
that referenced
this issue
Jan 26, 2021
sonar-scan can't parse the coverage.out generated by 'goc profile'
ERROR:
INFO: Load project repositories (done) | time=18ms
INFO: Load coverage report from '/xxx/coverage.out'
ERROR: Error parsing coverage info for file /xxx/coverage.out: Invalid go coverage, expect 'mode:' on the first line.
INFO: Sensor SonarGo [go] (done) | time=523ms
template with one blank in instrument.go
mux.HandleFunc("/v1/cover/profile", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, "mode: {{.Mode }} \n")
The text was updated successfully, but these errors were encountered: