Closed Shion1305 closed 3 weeks ago
When you run golangci-lint on this repository now, you'll get following errors.
golangci-lint
Here is the problem...
interfacer
errcheck
Just run the latest version of golangci-lint. You can also reproduce by rerunning CI again.
Not sure why github didn't auto-resolve this issue. It's fixed by https://github.com/golang-migrate/migrate/pull/1105
Describe the Bug
When you run![image](https://github.com/golang-migrate/migrate/assets/20254962/c795bde6-8c57-4fe0-9557-f3d40218bbb3)
golangci-lint
on this repository now, you'll get following errors.Here is the problem...
interfacer
linter, which is now deprecated.errcheck
fails on these code... https://github.com/golang-migrate/migrate/blob/aa2dad421f4dc7c9948a0dc2512a30efe47767d2/internal/cli/main.go#L278 https://github.com/golang-migrate/migrate/blob/aa2dad421f4dc7c9948a0dc2512a30efe47767d2/internal/cli/main.go#L309Steps to Reproduce
Just run the latest version of
golangci-lint
. You can also reproduce by rerunning CI again.