(results: any[])
| 161 | } |
| 162 | |
| 163 | function displaySummary(results: any[]) { |
| 164 | if (results.length === 0) return; |
| 165 | |
| 166 | console.log("\nProcess Summary:"); |
| 167 | results.forEach((result) => { |
| 168 | console.log(`${result.step}: ${result.status}`); |
| 169 | if (result.error) console.log(` - Error: ${result.error}`); |
| 170 | }); |
| 171 | } |