Chore: Fix plugins magefile (#81146)

This commit is contained in:
Andres Martinez Gotor
2024-01-24 14:01:15 +01:00
committed by GitHub
parent 28bb6979f5
commit a06197188f
+2
View File
@@ -47,6 +47,8 @@ func findPluginJSONDir(pluginID string) (string, error) {
if !fileHasString(pluginJSONMatch, fmt.Sprintf(`"id": "%s"`, pluginID)) {
continue
}
pluginJSONPath = pluginJSONMatch
break
}
pluginJSONPath, err = filepath.Abs(pluginJSONPath)
if err != nil {