Plugins: Tidy up CLI code (#67723)
* remove dead code and use pkg/plugins for uninstall process * fix linter * remove unnecessary cruft
This commit is contained in:
@@ -35,7 +35,7 @@ var validateLsCommand = func(pluginDir string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (cmd Command) lsCommand(c utils.CommandLine) error {
|
||||
func lsCommand(c utils.CommandLine) error {
|
||||
pluginDir := c.PluginDirectory()
|
||||
if err := validateLsCommand(pluginDir); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user