From 1c490a3e45673819b5ca9d8b365d1c6d8799781a Mon Sep 17 00:00:00 2001 From: shy Date: Wed, 6 Sep 2023 19:24:30 +0800 Subject: [PATCH] fix some --- base/ctx/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] } }