mirror of
https://github.com/kopia/kopia.git
synced 2026-05-11 08:16:12 -04:00
chore(ci): upgraded linter to 1.53.3 (#3079)
* chore(ci): upgraded linter to 1.53.3 This flagged a bunch of unused parameters, so the PR is larger than usual, but 99% mechanical. * separate lint CI task * run Lint in separate CI
This commit is contained in:
@@ -51,7 +51,7 @@ func (c *commandBenchmarkCompression) readInputFile(ctx context.Context) ([]byte
|
||||
return nil, errors.Wrap(err, "error opening input file")
|
||||
}
|
||||
|
||||
defer f.Close() //nolint:errcheck,gosec
|
||||
defer f.Close() //nolint:errcheck
|
||||
|
||||
st, err := f.Stat()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user