We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf20f5 commit fc18037Copy full SHA for fc18037
internal/cmd/operator-sdk/scorecard/cmd.go
@@ -105,7 +105,11 @@ func (c *scorecardCmd) printOutput(output v1alpha3.TestList) error {
105
}
106
fmt.Printf("%s\n", string(bytes))
107
case "xunit":
108
- bytes, err := xml.MarshalIndent(output, "", " ")
+ xunitOutput, err := c.convertXunit(output)
109
+ if err != nil {
110
+ return fmt.Errorf("Xunit conversion error: %v", err)
111
+ }
112
+ bytes, err := xml.MarshalIndent(xunitOutput, "", " ")
113
if err != nil {
114
return fmt.Errorf("marshal xml error: %v", err)
115
0 commit comments