Skip to content

Commit

Permalink
build(deps): bump github.com/alexkohler/nakedret/v2 from 2.0.4 to 2.0…
Browse files Browse the repository at this point in the history
….5 (#5076)

Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
dependabot[bot] and ldez authored Oct 17, 2024
1 parent 6c0ee25 commit 90c0509
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0
github.com/OpenPeeDeeP/depguard/v2 v2.2.0
github.com/alecthomas/go-check-sumtype v0.2.0
github.com/alexkohler/nakedret/v2 v2.0.4
github.com/alexkohler/nakedret/v2 v2.0.5
github.com/alexkohler/prealloc v1.0.0
github.com/alingse/asasalint v0.0.11
github.com/ashanbrown/forbidigo v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum

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

2 changes: 1 addition & 1 deletion pkg/golinters/nakedret/nakedret.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func New(settings *config.NakedretSettings) *goanalysis.Linter {
maxLines = settings.MaxFuncLines
}

a := nakedret.NakedReturnAnalyzer(maxLines)
a := nakedret.NakedReturnAnalyzer(maxLines, false)

return goanalysis.NewLinter(
a.Name,
Expand Down

0 comments on commit 90c0509

Please sign in to comment.