mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 18:34:02 +03:00
Update to the latest golangci-lint
This commit is contained in:
@@ -77,7 +77,7 @@ func (suite *HTTPTestSuite) TestOk() {
|
||||
readCloser, err := file.Open(suite.ctx)
|
||||
suite.NoError(err)
|
||||
|
||||
defer readCloser.Close()
|
||||
defer readCloser.Close() //nolint: errcheck
|
||||
|
||||
data, err := io.ReadAll(readCloser)
|
||||
suite.NoError(err)
|
||||
|
||||
Reference in New Issue
Block a user