Skip to content

Commit

Permalink
Fix bug with rendering user and tag info in XML renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Jul 31, 2021
1 parent 1c3f7a6 commit ae2fafd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions render/renderer_xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ func (rr *XMLRenderer) CommandStarted(c *recipe.Command) {
rr.data += " <command"

if c.User != "" {
rr.data += fmt.Sprint(" user=\"%s\"", c.User)
rr.data += fmt.Sprintf(" user=\"%s\"", c.User)
}

if c.Tag != "" {
rr.data += fmt.Sprint(" tag=\"%s\"", c.Tag)
rr.data += fmt.Sprintf(" tag=\"%s\"", c.Tag)
}

rr.data += ">\n"
Expand Down

0 comments on commit ae2fafd

Please sign in to comment.