File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,12 @@ type SarifDocument struct {
24
24
Runs []Run `json:"runs"`
25
25
}
26
26
27
+ type SarifCoverage struct {
28
+ Files int `json:"files"`
29
+ IsSupported bool `json:"isSupported"`
30
+ Lang string `json:"lang"`
31
+ }
32
+
27
33
type SarifResponse struct {
28
34
Type string `json:"type"`
29
35
Progress float64 `json:"progress"`
@@ -33,12 +39,8 @@ type SarifResponse struct {
33
39
Queue int `json:"queue"`
34
40
Analysis int `json:"analysis"`
35
41
} `json:"timing"`
36
- Coverage []struct {
37
- Files int `json:"files"`
38
- IsSupported bool `json:"isSupported"`
39
- Lang string `json:"lang"`
40
- } `json:"coverage"`
41
- Sarif SarifDocument `json:"sarif"`
42
+ Coverage []SarifCoverage `json:"coverage"`
43
+ Sarif SarifDocument `json:"sarif"`
42
44
}
43
45
44
46
type region struct {
You can’t perform that action at this time.
0 commit comments