Commit 5fcb4c9
committed
Workaround for cc-test-reporter with SimpleCov 0.18
This PR fixes the following build error when using cc-test-reporter with
SimpleCov 0.18.
```consle
% #!/bin/bash -eo pipefail
./cc-test-reporter before-build
rake coverage
./cc-test-reporter after-build --exit-code $?
(snip)
Coverage report generated for RSpec to
/home/circleci/project/coverage. 5051 / 5064 LOC (99.74%) covered.
Error: json: cannot unmarshal object into Go struct field input.coverage
of type []formatters.NullInt
```
https://circleci.com/gh/rubocop-hq/rubocop-rspec/10604
This patch is a workaround until the following issue will be resolved.
qltysh-archive/test-reporter#4181 parent f7fe011 commit 5fcb4c9
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
0 commit comments