[fp-enhancer] Improve pkg/scanfindings: pure declarative FormatMessage (#56348)
Replace the imperative var+append accumulation in FormatMessage with a declarative two-part construction (severityPart, bodyPart) joined and trimmed, removing the only append-based mutation in the package while preserving identical output for all existing cases. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
G
github-actions[bot] committed
8155453006605063e8540cb2dbe602a786b1e71f
Parent: 0c6b78c
Committed by GitHub <noreply@github.com>
on 8/27/2026, 2:27:42 PM