mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
linting
This commit is contained in:
parent
717d16345c
commit
3fb5ee7e1c
|
@ -37,7 +37,7 @@ func compress(src string, buf io.Writer) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if _, err := io.Copy(tw, data); err != nil {
|
if _, err = io.Copy(tw, data); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err = data.Close(); err != nil {
|
if err = data.Close(); err != nil {
|
||||||
|
|
Loading…
Reference in a new issue