diff options
| author | Jeff Carr <[email protected]> | 2025-01-13 04:14:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-13 04:14:30 -0600 |
| commit | 9b9c51d964a77a9260c02bcda46d4f73a8aabc3c (patch) | |
| tree | 5ac65648f78d10c7f4e8713d771ea9028070f8a9 /humanShowRepo.go | |
| parent | 23887a155ef6e4b512085b5a109118d8c678bb7d (diff) | |
maybe marshal() failed do to mutex entries? notsure
Diffstat (limited to 'humanShowRepo.go')
| -rw-r--r-- | humanShowRepo.go | 6 |
1 files changed, 5 insertions, 1 deletions
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()) |
