diff --git a/base/ctx/command.go b/base/ctx/command.go index 412f1753..a17ddfe8 100644 --- a/base/ctx/command.go +++ b/base/ctx/command.go @@ -164,7 +164,7 @@ func AddFileCmd(dir, key string) { if ls := strings.SplitN(path.Join(kit.Slice(kit.Split(FileCmd(dir), nfs.PS), 1, 4)...), mdb.AT, 2); len(ls) > 1 { _ls := strings.Split(FileCmd(dir), mdb.AT+ls[1]+nfs.PS) logs.Println("add file cmd %v %v", path.Join("/require/usr/", path.Base(_ls[0]), _ls[1]), key) - ice.Info.File["/require/usr/"+strings.Split(FileCmd(dir), mdb.AT+ls[1]+nfs.PS)[1]] = key + ice.Info.File[path.Join("/require/usr/", path.Base(_ls[0]), _ls[1])] = key ice.Info.Gomod[ls[0]] = ls[1] } }