1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-03-12 13:39:48 +08:00
parent bd3660f02e
commit e821a8a104

View File

@ -20,7 +20,7 @@ import (
func _runtime_init(m *ice.Message) {
if ice.Info.Make.Remote == "" {
ice.Info.Make.Remote = m.Cmdx(SYSTEM, GIT, "config", "--get", "remote.origin.url")
ice.Info.Make.Module = srtings.Split(ice.Info.Make.Remote, "://")[1]
ice.Info.Make.Module = strings.Split(ice.Info.Make.Remote, "://")[1]
}
count := kit.Int(m.Conf(RUNTIME, kit.Keys(BOOT, mdb.COUNT)))
defer m.Conf(RUNTIME, kit.Keys(BOOT, mdb.COUNT), count+1)