mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Add golangci (#6418)
This commit is contained in:
1 parent
5832f8d90d
commit
f9ec2f89f2
147 files changed
+1046
-774
No files matched your search
+3
-3
@@ -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()
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in new issue
Block a user