mirror of
https://github.com/pbnjay/grate.git
synced 2024-12-04 19:45:34 +02:00
of course when I backport they release 1.16...
This commit is contained in:
parent
8709521063
commit
3cf8ad7b0f
@ -11,7 +11,6 @@ import (
|
||||
"encoding/binary"
|
||||
"errors"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"sync"
|
||||
|
||||
@ -67,7 +66,7 @@ func Open(filename string) (grate.Source, error) {
|
||||
if err != nil {
|
||||
return nil, grate.WrapErr(err, grate.ErrNotInFormat)
|
||||
}
|
||||
raw, err := ioutil.ReadAll(rdr)
|
||||
raw, err := io.ReadAll(rdr)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user