This commit is contained in:
Jeff Carr 2024-11-28 10:10:42 -06:00
parent 02a5b213ae
commit c0a5055793
2 changed files with 3 additions and 7 deletions

View File

@ -11,13 +11,9 @@ import (
func standardMachineInit() { func standardMachineInit() {
var err error var err error
// load the ~/.config/forge/ config me.forge.Init()
if err = me.forge.ConfigLoad(); err != nil {
log.Warn("forgepb.ConfigLoad() failed", err)
os.Exit(-1)
}
me.forge.PrintTable() me.forge.ConfigPrintTable()
// load the ~/.config/forge/ machine file from zoopb // load the ~/.config/forge/ machine file from zoopb
if err = me.machine.ConfigLoad(); err != nil { if err = me.machine.ConfigLoad(); err != nil {

View File

@ -20,7 +20,7 @@ func (b *autoType) Enable() {
// this app's variables // this app's variables
type autoType struct { type autoType struct {
// your customized repo preferences and settings // your customized repo preferences and settings
forge forgepb.Repos forge forgepb.Forge
// where your ~/go/src is // where your ~/go/src is
goSrcPath string goSrcPath string