summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 01:14:37 -0600
committerJeff Carr <[email protected]>2024-12-17 01:14:37 -0600
commit0e84f2f1c116c69700a77ee745782f2628654126 (patch)
tree75f7a035f11d858f81eebd698306637e5254a0bb /main.go
parenta71305ea52b931c189076e11a4526848bf822c15 (diff)
more cleanups to fix forgepb values
Diffstat (limited to 'main.go')
-rw-r--r--main.go11
1 files changed, 5 insertions, 6 deletions
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()