Skip to content

Commit 29b7c25

Browse files
committed
chores: version bump & code change
1 parent c498f0e commit 29b7c25

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
@@ -24,7 +24,7 @@ require (
2424
github.com/breml/bidichk v0.2.4
2525
github.com/breml/errchkjson v0.3.1
2626
github.com/butuzov/ireturn v0.2.0
27-
github.com/butuzov/mirror v0.2.0
27+
github.com/butuzov/mirror v1.0.0
2828
github.com/charithe/durationcheck v0.0.10
2929
github.com/curioswitch/go-reassign v0.2.0
3030
github.com/daixiang0/gci v0.10.1

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/mirror.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NewMirror() *goanalysis.Linter {
3232
}
3333

3434
for i := range violations {
35-
tmp := violations[i].Issue(pass)
35+
tmp := violations[i].Issue(pass.Fset)
3636

3737
issue := result.Issue{
3838
FromLinter: a.Name,

0 commit comments

Comments
 (0)