Plugins: Update CLI check if plugin is already installed (#91213)

* check if plugin installed

* undo remove initial vers check

* still attempt deps
This commit is contained in:
Will Browne
2024-08-06 09:21:40 +01:00
committed by GitHub
parent da291998cf
commit 9300c1bbea
3 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ func readPluginJSON(pluginDir string) (plugins.JSONData, error) {
// nolint:gosec
data, err = os.ReadFile(pluginPath)
if err != nil {
return plugins.JSONData{}, fmt.Errorf("could not find plugin.json or dist/plugin.json for in %s", pluginDir)
return plugins.JSONData{}, fmt.Errorf("could not find plugin.json or dist/plugin.json in %s", pluginDir)
}
}