File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4088,7 +4088,7 @@ output:
40884088 text :
40894089 # Output path can be either `stdout`, `stderr` or path to the file to write to.
40904090 # Default: stdout
4091- path : ./path/to/report .txt
4091+ path : ./path/to/output .txt
40924092 # Print linter name in the end of issue text.
40934093 # Default: true
40944094 print-linter-name : false
@@ -4107,7 +4107,7 @@ output:
41074107 tab :
41084108 # Output path can be either `stdout`, `stderr` or path to the file to write to.
41094109 # Default: stdout
4110- path : stdout
4110+ path : ./path/to/output.txt
41114111 # Print linter name in the end of issue text.
41124112 # Default: true
41134113 print-linter-name : true
@@ -4138,7 +4138,7 @@ output:
41384138 # Support extra JUnit XML fields.
41394139 # Default: false
41404140 extended : true
4141- # Prints issues in the Teamcity format.
4141+ # Prints issues in the TeamCity format.
41424142 teamcity :
41434143 # Output path can be either `stdout`, `stderr` or path to the file to write to.
41444144 # Default: stdout
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type Formats struct {
1313}
1414
1515func (f * Formats ) IsEmpty () bool {
16- styles := []SimpleFormat {
16+ formats := []SimpleFormat {
1717 f .Text .SimpleFormat ,
1818 f .JSON ,
1919 f .Tab .SimpleFormat ,
@@ -25,8 +25,8 @@ func (f *Formats) IsEmpty() bool {
2525 f .Sarif ,
2626 }
2727
28- for _ , style := range styles {
29- if style .Path != "" {
28+ for _ , format := range formats {
29+ if format .Path != "" {
3030 return false
3131 }
3232 }
You can’t perform that action at this time.
0 commit comments