From af3a292efbd8ef2f7432090ef699e9ea2a2453eb Mon Sep 17 00:00:00 2001 From: Taras Madan Date: Thu, 6 Feb 2025 20:32:49 +0100 Subject: dashboard/app: fix coverage jsonl formatting --- dashboard/app/public_json_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dashboard') diff --git a/dashboard/app/public_json_api.go b/dashboard/app/public_json_api.go index cad8603e9..d9244aa2b 100644 --- a/dashboard/app/public_json_api.go +++ b/dashboard/app/public_json_api.go @@ -225,7 +225,7 @@ func writeExtAPICoverageFor(ctx context.Context, w io.Writer, ns, repo string) e func writeFileCoverage(ctx context.Context, w io.Writer, repo string, ff *coveragedb.FunctionFinder, covCh <-chan *coveragedb.FileCoverageWithLineInfo) error { enc := json.NewEncoder(w) - enc.SetIndent("\t\t", "\t") + enc.SetIndent("", "\t") for { select { case fileCov := <-covCh: -- cgit mrf-deployment