mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-13 04:14:57 +00:00
hotfix(ci): separate ai review evidence blocks
This commit is contained in:
1 parent
0be4ef7a0d
commit
80e22515b0
2 files changed
+106
-1
No files matched your search
@@ -704,12 +704,15 @@ function renderDetailedFindings(findings) {
|
||||
|
||||
lines.push(`**${SEVERITY_SUMMARY_LABELS[severity]} (${scopedFindings.length})**`, '');
|
||||
for (const [index, finding] of scopedFindings.entries()) {
|
||||
const snippets = Array.isArray(finding.snippets) ? finding.snippets : [];
|
||||
lines.push(`#### ${index + 1}. ${renderInlineText(finding.title)}`);
|
||||
lines.push(`- Location: ${renderCode(renderFindingReference(finding))}`);
|
||||
lines.push(`- Impact: ${renderInlineText(finding.why)}`);
|
||||
lines.push(`- Problem: ${renderInlineText(finding.what)}`);
|
||||
lines.push(`- Fix: ${renderInlineText(finding.fix)}`);
|
||||
lines.push(...renderFindingSnippets(finding.snippets));
|
||||
if (snippets.length > 0) {
|
||||
lines.push('', ...renderFindingSnippets(snippets));
|
||||
}
|
||||
lines.push('');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user