summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 03:36:26 -0500
committerJeff Carr <[email protected]>2025-09-11 03:36:26 -0500
commit6df342bc1071b72fe61b2708aa77dbdbabdbc602 (patch)
tree1402983a311db18c4b0bdf855acda4b1a745bd2b /main.go
parent209ee29773f910e3b1274725e7e40edee40cb535 (diff)
new config()
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)