| 1 | package jobs |
| 2 | |
| 3 | import ( |
| 4 | "strings" |
| 5 | |
| 6 | "reasonix/internal/evidence" |
| 7 | ) |
| 8 | |
| 9 | func mergePublishedEvidence(dst *evidence.ChildEvidenceSummary, summary evidence.ChildEvidenceSummary) { |
| 10 | if dst.WorkspaceRoot == "" { |
| 11 | dst.WorkspaceRoot = strings.TrimSpace(summary.WorkspaceRoot) |
| 12 | } |
| 13 | dst.Receipts = append(dst.Receipts, summary.Receipts...) |
| 14 | } |
| 15 |