fix(lint): check strings.Builder WriteString return value (errcheck)
This commit is contained in:
1 parent
c044d5c1f1
commit
97afb4089c
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user