Skip to content

Commit a728514

Browse files
committed
fix: update to v0.4.1
1 parent 00b8408 commit a728514

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ require (
6666
github.com/kunwardeep/paralleltest v1.0.10
6767
github.com/kyoh86/exportloopref v0.1.11
6868
github.com/lasiar/canonicalheader v1.1.2
69-
github.com/ldez/gomoddirectives v0.4.0
69+
github.com/ldez/gomoddirectives v0.4.1
7070
github.com/ldez/tagliatelle v0.6.0
7171
github.com/ldez/usetesting v0.2.0
7272
github.com/leonklingele/grouper v1.1.2

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/golinters/gomoddirectives/gomoddirectives.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func New(settings *config.GoModDirectivesSettings) *goanalysis.Linter {
4040
).WithContextSetter(func(lintCtx *linter.Context) {
4141
analyzer.Run = func(pass *analysis.Pass) (any, error) {
4242
once.Do(func() {
43-
results, err := gomoddirectives.Analyze(opts)
43+
results, err := gomoddirectives.AnalyzePass(pass, opts)
4444
if err != nil {
4545
lintCtx.Log.Warnf("running %s failed: %s: "+
4646
"if you are not using go modules it is suggested to disable this linter", linterName, err)

0 commit comments

Comments
 (0)