Chore: Fix plugins magefile (#81146)

pull/81149/head
Andres Martinez Gotor 1 year ago committed by GitHub
parent 28bb6979f5
commit a06197188f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/tsdb/Magefile.go

@ -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 {

Loading…
Cancel
Save