diff options
| author | Taras Madan <tarasmadan@google.com> | 2025-05-15 09:56:44 +0200 |
|---|---|---|
| committer | Taras Madan <tarasmadan@google.com> | 2025-05-19 10:06:38 +0000 |
| commit | b84f0537fc547b8b745e01c0d02b009b10ad9611 (patch) | |
| tree | 3d81301f5daacedc6b62bfe4e0f5eb7dc92d4700 /pkg | |
| parent | 54fb386c8845f5f2385e0f910c12fc4febdeef38 (diff) | |
dashboard/app: email regressions in files only
The lines about folders don't look actionable.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/cover/heatmap.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/cover/heatmap.go b/pkg/cover/heatmap.go index 672312fee..6de9e56ec 100644 --- a/pkg/cover/heatmap.go +++ b/pkg/cover/heatmap.go @@ -145,9 +145,9 @@ func (thm *templateHeatmapRow) prepareDataFor(pageColumns []pageColumnTarget) { } } -func (thm *templateHeatmapRow) Visit(v func(string, int64), path ...string) { +func (thm *templateHeatmapRow) Visit(v func(string, int64, bool), path ...string) { curPath := append(path, thm.Name) - v(strings.Join(curPath, "/"), thm.Summary) + v(strings.Join(curPath, "/"), thm.Summary, thm.IsDir) for _, item := range thm.Items { item.Visit(v, curPath...) } |
