Skip to content

Commit

Permalink
Added xml header format.
Browse files Browse the repository at this point in the history
  • Loading branch information
wongherlung committed Jan 27, 2018
1 parent b8cdc32 commit 7539b37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions output/formatter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7539b37

Please sign in to comment.