summaryrefslogtreecommitdiff
path: root/tableDefault.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-08 05:11:50 -0500
committerJeff Carr <[email protected]>2025-10-08 05:11:50 -0500
commitcd8daac7b211723bfa2b090554185b216df4ea03 (patch)
tree803e050753e5f5e7ae73e1ae3b6a2e4001a00fcf /tableDefault.go
parent3c2849b486c9034335104303865c203b1824a10d (diff)
send footers back
Diffstat (limited to 'tableDefault.go')
-rw-r--r--tableDefault.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tableDefault.go b/tableDefault.go
index c3dba27..5c2d3e9 100644
--- a/tableDefault.go
+++ b/tableDefault.go
@@ -13,7 +13,7 @@ func (f *Forge) PrintTable(pb *gitpb.Repos) {
f.PrintDefaultTB(pb)
}
-func (f *Forge) PrintDefaultTB(pb *gitpb.Repos) {
+func (f *Forge) PrintDefaultTB(pb *gitpb.Repos) string {
tablePB := f.makeDefaultTB(pb)
tablePB.PrintTable()
var dirty int
@@ -34,7 +34,7 @@ func (f *Forge) PrintDefaultTB(pb *gitpb.Repos) {
writable += 1
}
}
- log.Printf("f.DefaultRepos: total=(%d) dirty=(%d) writable=(%d) binaries=(%d) protobufs(%d)\n", pb.Len(), dirty, writable, bins, protos)
+ return log.Sprintf("f.DefaultRepos: total=(%d) dirty=(%d) writable=(%d) binaries=(%d) protobufs(%d)\n", pb.Len(), dirty, writable, bins, protos)
}
func (f *Forge) getRepoType(repo *gitpb.Repo) string {