0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-21 13:44:44 +02:00

Try to fix check-attr bug (#34029) (#34033)

Backport #34029 by wxiaoguang

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot 2025-03-27 13:36:07 +08:00 committed by GitHub
parent 35983ac0a8
commit 690e810bcc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -280,7 +280,7 @@ func (wr *nulSeparatedAttributeWriter) Write(p []byte) (n int, err error) {
}
}
wr.tmp = append(wr.tmp, p...)
return len(p), nil
return l, nil
}
func (wr *nulSeparatedAttributeWriter) ReadAttribute() <-chan attributeTriple {