Skip to content

Commit c8877a9

Browse files
committed
docs(ui): tidy the run detail mapping comment
1 parent 36255ff commit c8877a9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎ui/src/lib/api/http-runs.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ export function toRunNode(wire: Wire['RunNodeRecord'], run: Run): RunNode {
171171
};
172172
}
173173

174-
/** A run's detail from the listing. Rerun from failure covers failed and skipped nodes only, as the server does; cancelled nodes need a full rerun. and the nodes of the run and its child runs; parts with no server source stay empty. */
174+
/**
175+
* A run's detail from the listing and the nodes of the run and its child runs; parts with no server source stay empty.
176+
* Rerun from failure covers failed and skipped nodes only, as the server does; cancelled nodes need a full rerun.
177+
*/
175178
export function runDetailOf(run: Run, wire: Wire['RunRecord'], listed: Run[], nodes: RunNode[]): RunDetail {
176179
const byId = new Map(listed.map((r) => [r.id, r]));
177180
return {

0 commit comments

Comments
 (0)