(executedGraph: dataform.IRunResult)
| 677 | const alreadyPrintedActions = new Set<string>(); |
| 678 | |
| 679 | const printExecutedGraph = (executedGraph: dataform.IRunResult) => { |
| 680 | executedGraph.actions |
| 681 | .filter( |
| 682 | actionResult => |
| 683 | actionResult.status !== dataform.ActionResult.ExecutionStatus.RUNNING |
| 684 | ) |
| 685 | .filter( |
| 686 | executedAction => |
| 687 | !alreadyPrintedActions.has(targetAsReadableString(executedAction.target)) |
| 688 | ) |
| 689 | .forEach(executedAction => { |
| 690 | printExecutedAction( |
| 691 | executedAction, |
| 692 | actionsByName.get(targetAsReadableString(executedAction.target)), |
| 693 | argv[dryRunOptionName] |
| 694 | ); |
| 695 | alreadyPrintedActions.add(targetAsReadableString(executedAction.target)); |
| 696 | }); |
| 697 | }; |
| 698 | |
| 699 | runner.onChange(printExecutedGraph); |
| 700 | const runResult = await runner.result(); |
no test coverage detected