mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
tech(cli): lets use the fact that we have a compiler
This commit is contained in:
@@ -12,7 +12,7 @@ var getPluginss func(path string) []m.InstalledPlugin = services.GetLocalPlugins
|
||||
var removePlugin func(pluginPath, id string) error = services.RemoveInstalledPlugin
|
||||
|
||||
func removeCommand(c CommandLine) error {
|
||||
pluginPath := c.GlobalString("pluginsDir")
|
||||
pluginPath := c.PluginDirectory()
|
||||
localPlugins := getPluginss(pluginPath)
|
||||
|
||||
plugin := c.Args().First()
|
||||
|
||||
Reference in New Issue
Block a user