We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df32616 commit bebae27Copy full SHA for bebae27
pkg/config/loader.go
@@ -277,7 +277,7 @@ func (l *Loader) handleGoVersion() {
277
if l.cfg.LintersSettings.Gosimple.GoVersion == "" {
278
l.cfg.LintersSettings.Gosimple.GoVersion = trimmedGoVersion
279
}
280
- if l.cfg.LintersSettings.Stylecheck.GoVersion != "" {
+ if l.cfg.LintersSettings.Stylecheck.GoVersion == "" {
281
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
282
283
0 commit comments