Skip to content

Commit 143df04

Browse files
committed
Fixed typo.
1 parent 5b91afe commit 143df04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

output/junit_xml_format.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type failure struct {
3131
Text string `xml:",innerxml"`
3232
}
3333

34-
func genereratePlaintext(issue *gas.Issue) string {
34+
func generatePlaintext(issue *gas.Issue) string {
3535
return "Results:\n" +
3636
"[" + issue.File + ":" + issue.Line + "] - " +
3737
issue.What + " (Confidence: " + strconv.Itoa(int(issue.Confidence)) +
@@ -62,7 +62,7 @@ func createJUnitXMLStruct(groupedData map[string][]*gas.Issue) junitXMLReport {
6262
Name: issue.File,
6363
Failure: failure{
6464
Message: "Found 1 vulnerability. See stacktrace for details.",
65-
Text: genereratePlaintext(issue),
65+
Text: generatePlaintext(issue),
6666
},
6767
}
6868
testsuite.Testcases = append(testsuite.Testcases, testcase)

0 commit comments

Comments
 (0)