mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 00:54:01 +03:00
Upgrade golangci-lint for 1.42
This commit is contained in:
@@ -36,7 +36,7 @@ func (w *wrapperPing) Write(p []byte) (int, error) {
|
||||
}
|
||||
|
||||
func (w *wrapperPing) Close() error {
|
||||
return w.parent.Close()
|
||||
return w.parent.Close() // nolint: wrapcheck
|
||||
}
|
||||
|
||||
func NewPing(ctx context.Context, parent io.ReadWriteCloser, channelPing chan<- struct{}) io.ReadWriteCloser {
|
||||
|
||||
Reference in New Issue
Block a user