Skip to content

Commit 2059b18

Browse files
authored
build(deps): bump github.com/securego/gosec/v2 from 2.20.0 to 5f0084eb01a9 (#4748)
1 parent 95ca3c3 commit 2059b18

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ require (
9292
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
9393
github.com/sashamelentyev/interfacebloat v1.1.0
9494
github.com/sashamelentyev/usestdlibvars v1.25.0
95-
github.com/securego/gosec/v2 v2.20.0
95+
github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9
9696
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
9797
github.com/shirou/gopsutil/v3 v3.24.4
9898
github.com/sirupsen/logrus v1.9.3

go.sum

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/loader.go

+2
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)