From 39f72d20344c5bbe05b83a13eee9c0d7b54f7e78 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Jan 2025 23:25:55 -0600 Subject: better git checkout --- doExamine.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doExamine.go') diff --git a/doExamine.go b/doExamine.go index 8cac9d8..8a4ca75 100644 --- a/doExamine.go +++ b/doExamine.go @@ -12,7 +12,7 @@ import ( "go.wit.com/log" ) -func doExamine() bool { +func doExamine() error { me.found = new(gitpb.Repos) all := me.forge.Repos.SortByFullPath() for all.Scan() { @@ -28,7 +28,7 @@ func doExamine() bool { } } if len(me.found.Repos) == 0 { - return true + return nil } // slices.Reverse(me.found.Repos) slices.SortFunc(me.found.Repos, func(a, b *gitpb.Repo) int { @@ -63,7 +63,7 @@ func doExamine() bool { me.found.AppendByGoPath(repo) } me.forge.PrintHumanTableDirty(me.found) - return false + return nil } func isNormal(repo *gitpb.Repo) bool { -- cgit v1.2.3