aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-02-06 20:32:49 +0100
committerTaras Madan <tarasmadan@google.com>2025-02-06 20:32:49 +0100
commitaf3a292efbd8ef2f7432090ef699e9ea2a2453eb (patch)
tree6cb79e714f6d7ec3c3b7f536fa2eb483eefb7f0c /dashboard/app
parent53657d1b81777d8a70ed2f356ea6b185ee268555 (diff)
dashboard/app: fix coverage jsonl formatting
Diffstat (limited to 'dashboard/app')
-rw-r--r--dashboard/app/public_json_api.go2
1 files changed, 1 insertions, 1 deletions
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: