changed import conventions for plugin names: expr-<scoped-name>; scoped-name = <scope>-<name>

This commit is contained in:
2026-05-22 05:59:46 +02:00
parent ac5c97bfd3
commit 7ed5a806f9
3 changed files with 9 additions and 10 deletions
+7 -6
View File
@@ -89,16 +89,17 @@ func searchAmongPath(filename string, dirList []string) (filePath string) {
if dir, err = util.ExpandPath(dir); err != nil {
continue
}
if fullPath := path.Join(dir, filename); isFile(fullPath) {
fullPath := path.Join(dir, filename)
if isFile(fullPath) {
filePath = fullPath
break
}
subdir := strings.TrimSuffix(filename, suffix)
if fullPath := path.Join(dir, subdir, filename); isFile(fullPath) {
filePath = fullPath
break
}
// subdir := strings.TrimSuffix(filename, suffix)
// if fullPath := path.Join(dir, subdir, filename); isFile(fullPath) {
// filePath = fullPath
// break
// }
}
return
}