mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 02:14:02 +03:00
Update to the latest golangci-lint
This commit is contained in:
@@ -40,11 +40,11 @@ func (s *streamContext) Close() {
|
||||
s.ctxCancel()
|
||||
|
||||
if s.clientConn != nil {
|
||||
s.clientConn.Close()
|
||||
s.clientConn.Close() //nolint: errcheck
|
||||
}
|
||||
|
||||
if s.telegramConn != nil {
|
||||
s.telegramConn.Close()
|
||||
s.telegramConn.Close() //nolint: errcheck
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user