Skip to content

Commit bebae27

Browse files
committed
fix: invalid condition
1 parent df32616 commit bebae27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/config/loader.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ func (l *Loader) handleGoVersion() {
277277
if l.cfg.LintersSettings.Gosimple.GoVersion == "" {
278278
l.cfg.LintersSettings.Gosimple.GoVersion = trimmedGoVersion
279279
}
280-
if l.cfg.LintersSettings.Stylecheck.GoVersion != "" {
280+
if l.cfg.LintersSettings.Stylecheck.GoVersion == "" {
281281
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
282282
}
283283
}

0 commit comments

Comments
 (0)