From 29551667f0c1bca602870caba5921d3abcbe992e Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 8 Nov 2024 06:43:45 -0600 Subject: use go-cmd/cmd --- human.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'human.go') diff --git a/human.go b/human.go index 7954c42..3cc02d6 100644 --- a/human.go +++ b/human.go @@ -23,9 +23,9 @@ func (r *RepoRow) StandardHeader() string { user := r.Status.GetUserVersion() header := fmt.Sprintf("%-35s %5s %-10s %-10s %-20s %-20s %-20s %-15s", - r.Name(), shell.FormatDuration(dur), + r.Name(), shell.FormatDuration(dur), lastTag, target, - master, devel, user, + master, devel, user, r.State()) return header } @@ -51,14 +51,14 @@ func (v *RepoList) PrintReport(readonly string, onlydirty string, perfect string header := repo.StandardHeader() if onlydirty == "true" { if repo.CheckDirty() { - log.Info(header+"") + log.Info(header + "") } continue } if repo.ReadOnly() { if readonly == "true" { - log.Info(header+"readonly") + log.Info(header + "readonly") } continue } @@ -68,14 +68,14 @@ func (v *RepoList) PrintReport(readonly string, onlydirty string, perfect string } } if repo.State() != "merge to main" { - log.Info(header+"") + log.Info(header + "") continue } if repo.CheckDirty() { - log.Info(header+"") + log.Info(header + "") continue } - log.Info(header+"") + log.Info(header + "") } log.Info(fmt.Sprintf("EVERYTHING WORKED repo count = %d", count)) } -- cgit v1.2.3