Skip to content

Commit 589ab84

Browse files
build(deps): bump github.com/ashanbrown/forbidigo from 1.3.0 to 1.4.0 (#3590)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent a4d2f89 commit 589ab84

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
@@ -14,7 +14,7 @@ require (
1414
github.com/OpenPeeDeeP/depguard v1.1.1
1515
github.com/alexkohler/prealloc v1.0.0
1616
github.com/alingse/asasalint v0.0.11
17-
github.com/ashanbrown/forbidigo v1.3.0
17+
github.com/ashanbrown/forbidigo v1.4.0
1818
github.com/ashanbrown/makezero v1.1.1
1919
github.com/bkielbasa/cyclop v1.2.0
2020
github.com/blizzy78/varnamelen v0.8.0

go.sum

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

pkg/golinters/forbidigo.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func runForbidigo(pass *analysis.Pass, settings *config.ForbidigoSettings) ([]go
6464

6565
var issues []goanalysis.Issue
6666
for _, file := range pass.Files {
67-
hints, err := forbid.Run(pass.Fset, file)
67+
hints, err := forbid.RunWithConfig(forbidigo.RunConfig{Fset: pass.Fset}, file)
6868
if err != nil {
6969
return nil, errors.Wrapf(err, "forbidigo linter failed on file %q", file.Name.String())
7070
}

0 commit comments

Comments
 (0)