EmptyReport returns a Report with the contract-required empty (non-nil) arrays and CleanedHTML equal to the input. Compose 5 / +draft-edit call this when the body is plain-text or empty so the stdout envelope's `lint_applied` / `original_blocked` fields are always present arrays.
(html string)
| 84 | // this when the body is plain-text or empty so the stdout envelope's |
| 85 | // `lint_applied` / `original_blocked` fields are always present arrays. |
| 86 | func EmptyReport(html string) Report { |
| 87 | return Report{ |
| 88 | Applied: []Finding{}, |
| 89 | Blocked: []Finding{}, |
| 90 | CleanedHTML: html, |
| 91 | } |
| 92 | } |
no outgoing calls