summaryrefslogtreecommitdiff
path: root/tableDefault.go
diff options
context:
space:
mode:
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 {