1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-25 17:18:05 +08:00
This commit is contained in:
shylinux@163.com 2022-09-30 19:53:19 +08:00
parent 3d367e7c5a
commit c161d739f4

View File

@ -217,11 +217,6 @@ func GetFileCmd(dir string) string {
if cmd, ok := ice.Info.File[FileCmd(path.Join(p, path.Base(p)+".go"))]; ok {
return cmd
}
for k, v := range ice.Info.File {
if strings.HasPrefix(k, p) {
return v
}
}
}
return ""
}