mirror of
https://github.com/securego/gosec.git
synced 2025-01-05 22:53:29 +02:00
Added xml header format.
This commit is contained in:
parent
b8cdc32174
commit
7539b3735f
@ -180,6 +180,7 @@ func reportXML(w io.Writer, data *reportInfo) error {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
raw = append([]byte("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"), raw...)
|
||||
_, err = w.Write(raw)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Loading…
Reference in New Issue
Block a user