mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 10:53:50 +08: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