From 0e84f2f1c116c69700a77ee745782f2628654126 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 01:14:37 -0600 Subject: more cleanups to fix forgepb values --- main.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 0ebe1bc..1cd90a3 100644 --- a/main.go +++ b/main.go @@ -29,6 +29,10 @@ func main() { me.forge = forgepb.Init() me.found = new(gitpb.Repos) + if argv.Fix { + okExit("") + } + // first find the repos or gopaths to operate on if argv.Config { if findConfig() { @@ -38,6 +42,7 @@ func main() { } else { findRepos() } + // okExit("") log.Info("found", me.found.Len(), "repos. found", len(me.foundPaths), "paths from .config/forge") @@ -69,12 +74,6 @@ func main() { done = true } - if argv.Fix { - // print out the repos - doFix() - done = true - } - if argv.DoPatchSet { sendDevelDiff() // sendMasterDiff() -- cgit v1.2.3