summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index be466a3..130c412 100644
--- a/main.go
+++ b/main.go
@@ -30,9 +30,9 @@ func main() {
me.myGui = prep.Gui() // prepares the GUI package for go-args
me.pp = arg.MustParse(&argv)
- me.configInit() // reads in the config file
-
- me.forge = forgepb.RawInitPB()
+ // read in forge info
+ cfg := configInit()
+ me.forge = forgepb.InitFromConfig(cfg)
if err := me.forge.InitPatchsets(); err != nil {
log.Info("patches failed to open", err)