Skip to content

Commit

Permalink
Merge pull request #12 from okieraised/dev
Browse files Browse the repository at this point in the history
hotfix io.ReadAll
  • Loading branch information
okieraised authored Mar 30, 2023
2 parents 4df3e12 + f3f14a6 commit 51db802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/deflate.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func DeflateGzip(b []byte) ([]byte, error) {
defer g.Close()

p, err := io.ReadAll(g)
if err != nil {
if err != nil && err != io.EOF && err != io.ErrUnexpectedEOF {
return nil, err
}

Expand Down

0 comments on commit 51db802

Please sign in to comment.