diff options
Diffstat (limited to 'defaultBehavior.go')
| -rw-r--r-- | defaultBehavior.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/defaultBehavior.go b/defaultBehavior.go index b42ca34..c9bbeeb 100644 --- a/defaultBehavior.go +++ b/defaultBehavior.go @@ -17,11 +17,13 @@ func defaultBehaviorMaster() error { // if no option is given to patch, list out the // repos that have patches ready in them - found := findReposWithPatches() + found := cloneReposWithPatches() if found.Len() == 0 { log.Info("you currently have no repos with patches") return nil } + footer := found.PrintDefaultTB() + log.Info("default master table", footer) // warn about dirty repos not in master branches for repo := range found.IterAll() { if repo.CheckDirty() { @@ -32,8 +34,6 @@ func defaultBehaviorMaster() error { // return log.Errorf("%s repo is dirty", repo.FullPath) } } - footer := me.forge.PrintDefaultTB(found) - log.Info("default master table", footer) if reallybad { return errors.New("\nYOU ARE MAKING EDITS ON NON USER BRANCHES\n") } |
