main
Kegan Dougal 2021-07-08 10:17:13 +01:00
parent 717d16345c
commit 3fb5ee7e1c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func compress(src string, buf io.Writer) error {
if err != nil {
return err
}
if _, err := io.Copy(tw, data); err != nil {
if _, err = io.Copy(tw, data); err != nil {
return err
}
if err = data.Close(); err != nil {