mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Added xml header format.
This commit is contained in:
parent
b8cdc32174
commit
7539b3735f
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue