From b84f0537fc547b8b745e01c0d02b009b10ad9611 Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 15 May 2025 09:56:44 +0200 Subject: dashboard/app: email regressions in files only The lines about folders don't look actionable. --- pkg/cover/heatmap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg') 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...) } -- cgit mrf-deployment