mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 16:57:14 -06:00
Chore: Fix rootDir path when compiling core ds (#82068)
This commit is contained in:
parent
1f2f85004d
commit
9c0501a167
@ -75,11 +75,7 @@ func findRootDir(pluginID string) (string, error) {
|
|||||||
if pluginDir == "" {
|
if pluginDir == "" {
|
||||||
return "", nil
|
return "", nil
|
||||||
}
|
}
|
||||||
absolutePath, err := filepath.Abs(pluginDir)
|
return filepath.Abs(pluginDir)
|
||||||
if err != nil {
|
|
||||||
return "", err
|
|
||||||
}
|
|
||||||
return filepath.Dir(absolutePath), nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildPlugin(rootDir, pluginJSONDir string) {
|
func buildPlugin(rootDir, pluginJSONDir string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user