From 7f8e8d635108b3e3630a092ff7347a2be5fd49bb Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sun, 14 Apr 2024 15:12:05 +0000 Subject: [PATCH] pages/bulktracker.go: Parse failed_deps with spaces, not commas. fix https://github.com/bsiegert/BulkTracker/issues/56 --- pages/bulktracker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/bulktracker.go b/pages/bulktracker.go index 00b6990..fb7a0ad 100644 --- a/pages/bulktracker.go +++ b/pages/bulktracker.go @@ -235,7 +235,7 @@ func (p *PkgDetails) ServeHTTP(w http.ResponseWriter, r *http.Request) { if res.FailedDeps == "" { return } - failedDeps := strings.Split(res.FailedDeps, ",") + failedDeps := strings.Split(res.FailedDeps, " ") fmt.Fprintf(w, "

This package has %d failed dependencies

", len(failedDeps)) templates.TableBegin(w, "Location", "Package Name", "Status", "Breaks")