refactor: simplify pass (trekexecute)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d38846f61d
commit
f1f5ab5528
5 changed files with 30 additions and 42 deletions
|
|
@ -57,7 +57,7 @@ function blockerIdsFromBody(body) {
|
|||
}
|
||||
|
||||
/** Finding IDs named by `Source finding:` lines under `## Remediation Steps` step headings. */
|
||||
function remediationStepSources(body) {
|
||||
export function remediationStepSources(body) {
|
||||
const start = body.search(/^##\s+Remediation Steps\b/m);
|
||||
if (start === -1) return new Set();
|
||||
const rest = body.slice(start).replace(/^##\s+Remediation Steps[^\n]*\n/, '');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue