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 authored 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.