Update golangci-linter

This commit is contained in:
9seconds
2021-02-26 00:52:09 +03:00
parent 91197c0334
commit 33b1a5426c
21 changed files with 44 additions and 42 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func (w *wrapperObfuscated2) ReadTimeout(p []byte, timeout time.Duration) (int,
func (w *wrapperObfuscated2) Read(p []byte) (int, error) {
n, err := w.parent.Read(p)
if err != nil {
return n, err
return n, err // nolint: wrapcheck
}
w.decryptor.XORKeyStream(p, p[:n])