summaryrefslogtreecommitdiff
path: root/tablePull.go
diff options
context:
space:
mode:
Diffstat (limited to 'tablePull.go')
-rw-r--r--tablePull.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/tablePull.go b/tablePull.go
index 2e87e40..ebe062f 100644
--- a/tablePull.go
+++ b/tablePull.go
@@ -9,10 +9,11 @@ import (
"go.wit.com/log"
)
-func (f *Forge) PrintPullTable(pb *gitpb.Repos) {
+// returns footer
+func (f *Forge) PrintPullTable(pb *gitpb.Repos) string {
tablePB := f.makePullTable(pb)
tablePB.PrintTable()
- log.Printf("fpb.PullTable: %d repos\n", pb.Len())
+ return log.Sprintf("fpb.PullTable: %d repos\n", pb.Len())
}
func (f *Forge) makePullTable(pb *gitpb.Repos) *gitpb.ReposTable {