diff options
Diffstat (limited to 'doCheckout.go')
| -rw-r--r-- | doCheckout.go | 5 |
1 files changed, 3 insertions, 2 deletions
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() |
