Skip to content

buildAslFileSection

function buildAslFileSection(change, options?): AslFileSection | null;

Defined in: src/ci/buildReport.ts:152

Builds one report section for a changed ASL file: a plain diagram for an added or deleted file, or a diff-highlighted diagram plus a change-summary table for a modified file. Returns null when neither side parsed as ASL.

The definition is linted before it is drawn. Any error-severity finding means the renderer would throw on it, so the section then carries the lint table and LINT_ERROR_DIAGRAM_NOTE with no diagram — a broken definition should produce a comment saying what is broken, not a failed CI job.

AslFileChange

BuildAslFileSectionOptions = {}

AslFileSection | null