Chore: Fix rootDir path when compiling core ds (#82068)

This commit is contained in:
Andres Martinez Gotor
2024-02-07 13:00:13 +01:00
committed by GitHub
parent 1f2f85004d
commit 9c0501a167

View File

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