mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
Other: Update golangci-lint to v1.50.0
This commit is contained in:
@ -20,7 +20,6 @@ package message
|
||||
import (
|
||||
"image/png"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
@ -603,7 +602,7 @@ func getFileReader(filename string) io.Reader {
|
||||
}
|
||||
|
||||
func readerToString(r io.Reader) string {
|
||||
b, err := ioutil.ReadAll(r)
|
||||
b, err := io.ReadAll(r)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user