diff --git a/base/ctx/command.go b/base/ctx/command.go index 2348213c..2ff9328b 100644 --- a/base/ctx/command.go +++ b/base/ctx/command.go @@ -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 "" }