File tree 2 files changed +3
-3
lines changed
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 {
338
338
339
339
// The 2 options are true by default.
340
340
// Deprecated since v1.63.0
341
- if ! l .cfg .Output .UniqByLine {
341
+ if l .cfg .Output .UniqByLine != nil {
342
342
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
344
344
}
345
345
346
346
// Deprecated since v1.57.0
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ type Output struct {
52
52
Format string `mapstructure:"format"`
53
53
54
54
// Deprecated: use [Issues.UniqByLine] instead.
55
- UniqByLine bool `mapstructure:"uniq-by-line"`
55
+ UniqByLine * bool `mapstructure:"uniq-by-line"`
56
56
}
57
57
58
58
func (o * Output ) Validate () error {
You can’t perform that action at this time.
0 commit comments