fix(lint): check strings.Builder WriteString return value (errcheck)

This commit is contained in:
shaw
2026-07-20 10:46:37 +08:00
parent c044d5c1f1
commit 97afb4089c
@@ -1176,7 +1176,7 @@ func extractLosslessTextFromContent(content any) (string, bool) {
if !ok {
return "", false
}
b.WriteString(text)
_, _ = b.WriteString(text)
}
return b.String(), true
default: