(dependency string)
| 416 | } |
| 417 | |
| 418 | func normalizeWorkflowDependency(dependency string) string { |
| 419 | dependency = strings.TrimSpace(dependency) |
| 420 | if dependency == "" { |
| 421 | return "" |
| 422 | } |
| 423 | if path, _, ok := strings.Cut(dependency, "#"); ok { |
| 424 | return strings.TrimSpace(path) |
| 425 | } |
| 426 | return dependency |
| 427 | } |
| 428 | |
| 429 | func renderWorkflowDependencyTree(statuses []WorkflowStatus) string { |
| 430 | root := tree.Root("Workflow Dependencies") |
no outgoing calls
no test coverage detected