Skip to content

Commit

Permalink
chore: extended-junit-xml -> junit-xml-extended
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 25, 2024
1 parent 11e8242 commit e5a80c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .golangci.next.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ output:
# - `checkstyle`
# - `code-climate`
# - `junit-xml`
# - `extended-junit-xml`
# - `junit-xml-extended`
# - `github-actions`
# - `teamcity`
# - `sarif`
Expand Down
2 changes: 1 addition & 1 deletion jsonschema/golangci.next.jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
"checkstyle",
"code-climate",
"junit-xml",
"extended-junit-xml",
"junit-xml-extended",
"github-actions",
"teamcity",
"sarif"
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
OutFormatCodeClimate = "code-climate"
OutFormatHTML = "html"
OutFormatJunitXML = "junit-xml"
OutFormatExtendedJunitXML = "extended-junit-xml"
OutFormatJunitXMLExtended = "junit-xml-extended"
OutFormatGithubActions = "github-actions" // Deprecated
OutFormatTeamCity = "teamcity"
OutFormatSarif = "sarif"
Expand All @@ -33,7 +33,7 @@ var AllOutputFormats = []string{
OutFormatCodeClimate,
OutFormatHTML,
OutFormatJunitXML,
OutFormatExtendedJunitXML,
OutFormatJunitXMLExtended,
OutFormatGithubActions,
OutFormatTeamCity,
OutFormatSarif,
Expand Down
2 changes: 1 addition & 1 deletion pkg/printers/printer.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (c *Printer) createPrinter(format string, w io.Writer) (issuePrinter, error
p = NewHTML(w)
case config.OutFormatJunitXML:
p = NewJunitXML(false, w)
case config.OutFormatExtendedJunitXML:
case config.OutFormatJunitXMLExtended:
p = NewJunitXML(true, w)
case config.OutFormatGithubActions:
p = NewGitHubAction(w)
Expand Down

0 comments on commit e5a80c8

Please sign in to comment.