From 9b9c51d964a77a9260c02bcda46d4f73a8aabc3c Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 13 Jan 2025 04:14:30 -0600 Subject: maybe marshal() failed do to mutex entries? notsure --- humanShowRepo.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'humanShowRepo.go') diff --git a/humanShowRepo.go b/humanShowRepo.go index 1416d3b..4e5ccfa 100644 --- a/humanShowRepo.go +++ b/humanShowRepo.go @@ -61,7 +61,11 @@ func (f *Forge) HumanPrintRepo(check *gitpb.Repo) { // testNext(check) found := new(gitpb.Repos) - found.AppendUniqueGoPath(check) + if !found.AppendByGoPath(check) { + log.Info("forgepb check. repo already existed", check.FullPath, check.GetGoPath()) + } else { + log.Info("forgepb check. repo was new", check.FullPath, check.GetGoPath()) + } f.PrintHumanTable(found) printTime("Last Pull", check.Times.LastPull.AsTime()) -- cgit v1.2.3