aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/blob.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/blob.go')
-rw-r--r--modules/git/blob.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/git/blob.go b/modules/git/blob.go
index 171b4a1010..73ac89dfdf 100644
--- a/modules/git/blob.go
+++ b/modules/git/blob.go
@@ -50,12 +50,12 @@ func (b *Blob) GetBlobContentBase64() (string, error) {
go func() {
_, err := io.Copy(encoder, dataRc)
- encoder.Close()
+ _ = encoder.Close()
if err != nil {
- pw.CloseWithError(err)
+ _ = pw.CloseWithError(err)
} else {
- pw.Close()
+ _ = pw.Close()
}
}()