Skip to content

Commit 2f7cfd9

Browse files
committed
chore: update implementation
1 parent d7e7490 commit 2f7cfd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/config/loader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ func (l *Loader) handleGoVersion() {
304304
if l.cfg.LintersSettings.Stylecheck.GoVersion == "" {
305305
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
306306
}
307+
308+
os.Setenv("GOSECGOVERSION", l.cfg.Run.Go)
307309
}
308310

309311
func (l *Loader) handleDeprecation() error {

0 commit comments

Comments
 (0)