From 6386bc48267261c17ee591b9341e05b2f21fa727 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 20 Jan 2025 03:30:58 -0600 Subject: minor --- doCheckout.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doCheckout.go') diff --git a/doCheckout.go b/doCheckout.go index 29a5fe3..7f9a6fa 100644 --- a/doCheckout.go +++ b/doCheckout.go @@ -208,8 +208,9 @@ func doAllCheckoutMaster() error { me.forge.ConfigSave() } - if total, count, nope, err := IsEverythingOnMaster(); err != nil { - log.Printf("Master branch check. %d total repos. (%d ok) (%d not on master branch) (%s)\n", total, count, nope, shell.FormatDuration(time.Since(now))) + total, count, nope, err := IsEverythingOnMaster() + log.Printf("Master branch check. %d total repos. (%d ok) (%d not on master branch) (%s)\n", total, count, nope, shell.FormatDuration(time.Since(now))) + if err != nil { // display all repos not on master me.found = new(gitpb.Repos) all := me.forge.Repos.SortByFullPath() -- cgit v1.2.3