Skip to content

Commit

Permalink
build(deps): bump github.com/securego/gosec/v2 from 2.20.0 to 5f0084e…
Browse files Browse the repository at this point in the history
…b01a9 (#4748)
  • Loading branch information
ldez committed May 25, 2024
1 parent 95ca3c3 commit 2059b18
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ require (
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
github.com/sashamelentyev/interfacebloat v1.1.0
github.com/sashamelentyev/usestdlibvars v1.25.0
github.com/securego/gosec/v2 v2.20.0
github.com/securego/gosec/v2 v2.20.1-0.20240525090044-5f0084eb01a9
github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c
github.com/shirou/gopsutil/v3 v3.24.4
github.com/sirupsen/logrus v1.9.3
Expand Down
8 changes: 4 additions & 4 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/config/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ func (l *Loader) handleGoVersion() {
if l.cfg.LintersSettings.Stylecheck.GoVersion == "" {
l.cfg.LintersSettings.Stylecheck.GoVersion = trimmedGoVersion
}

os.Setenv("GOSECGOVERSION", l.cfg.Run.Go)
}

func (l *Loader) handleDeprecation() error {
Expand Down

0 comments on commit 2059b18

Please sign in to comment.