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 5b91afe commit 143df04Copy full SHA for 143df04
output/junit_xml_format.go
@@ -31,7 +31,7 @@ type failure struct {
31
Text string `xml:",innerxml"`
32
}
33
34
-func genereratePlaintext(issue *gas.Issue) string {
+func generatePlaintext(issue *gas.Issue) string {
35
return "Results:\n" +
36
"[" + issue.File + ":" + issue.Line + "] - " +
37
issue.What + " (Confidence: " + strconv.Itoa(int(issue.Confidence)) +
@@ -62,7 +62,7 @@ func createJUnitXMLStruct(groupedData map[string][]*gas.Issue) junitXMLReport {
62
Name: issue.File,
63
Failure: failure{
64
Message: "Found 1 vulnerability. See stacktrace for details.",
65
- Text: genereratePlaintext(issue),
+ Text: generatePlaintext(issue),
66
},
67
68
testsuite.Testcases = append(testsuite.Testcases, testcase)
0 commit comments