diff options
| author | Jeff Carr <[email protected]> | 2025-01-18 23:25:55 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-18 23:25:55 -0600 |
| commit | 39f72d20344c5bbe05b83a13eee9c0d7b54f7e78 (patch) | |
| tree | bba755911c142fb357804a006dc11183063c2b37 /doExamine.go | |
| parent | cbbd43f7b59cee14ed3c83d1da33a04cf8e73bbc (diff) | |
better git checkout
Diffstat (limited to 'doExamine.go')
| -rw-r--r-- | doExamine.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 { |
