mirror of
https://shylinux.com/x/icebergs
synced 2025-04-25 17:18:05 +08:00
opt some
This commit is contained in:
parent
3d367e7c5a
commit
c161d739f4
@ -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 ""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user