summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index c140b97..879819b 100644
--- a/main.go
+++ b/main.go
@@ -31,8 +31,10 @@ func main() {
me.myGui = prep.Gui() // prepares the GUI package for go-args
me.pp = arg.MustParse(&argv)
- // load the ~/.config/forge/ config
- me.forge = forgepb.Init()
+ // read in forge info
+ cfg := configInit()
+ me.forge = forgepb.InitFromConfig(cfg)
+
me.found = new(gitpb.Repos)
fhelp.CheckGoModCleanExit()