File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -338,9 +338,9 @@ func (l *Loader) handleDeprecation() error {
338338
339339 // The 2 options are true by default.
340340 // Deprecated since v1.63.0
341- if ! l .cfg .Output .UniqByLine {
341+ if l .cfg .Output .UniqByLine != nil {
342342 l .log .Warnf ("The configuration option `output.uniq-by-line` is deprecated, please use `issues.uniq-by-line`" )
343- l .cfg .Issues .UniqByLine = l .cfg .Output .UniqByLine
343+ l .cfg .Issues .UniqByLine = * l .cfg .Output .UniqByLine
344344 }
345345
346346 // Deprecated since v1.57.0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ type Output struct {
5252 Format string `mapstructure:"format"`
5353
5454 // Deprecated: use [Issues.UniqByLine] instead.
55- UniqByLine bool `mapstructure:"uniq-by-line"`
55+ UniqByLine * bool `mapstructure:"uniq-by-line"`
5656}
5757
5858func (o * Output ) Validate () error {
You can’t perform that action at this time.
0 commit comments