new init()
This commit is contained in:
parent
de30c30005
commit
c62f48ec16
1
init.go
1
init.go
|
@ -59,6 +59,7 @@ func InitFromConfig(cfg *ForgeConfigs) *Forge {
|
||||||
f.Config = cfg
|
f.Config = cfg
|
||||||
if f.configENV() {
|
if f.configENV() {
|
||||||
log.Info("ENV changed config. todo: save config here")
|
log.Info("ENV changed config. todo: save config here")
|
||||||
|
f.Config.ConfigSave()
|
||||||
}
|
}
|
||||||
|
|
||||||
f.Repos = gitpb.NewRepos()
|
f.Repos = gitpb.NewRepos()
|
||||||
|
|
Loading…
Reference in New Issue