mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -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 == "" {
|
||||
return "", nil
|
||||
}
|
||||
absolutePath, err := filepath.Abs(pluginDir)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return filepath.Dir(absolutePath), nil
|
||||
return filepath.Abs(pluginDir)
|
||||
}
|
||||
|
||||
func buildPlugin(rootDir, pluginJSONDir string) {
|
||||
|
Loading…
Reference in New Issue
Block a user