From 8948b91d7a80169b12907e16581cfdd53bbb73f1 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Thu, 26 Jul 2018 08:45:26 -0400 Subject: unpack prepacked plugins on plugins initialization (#9149) * unpack prepackaged plugins on plugins initialization * leverage utils.FindDir --- cmd/mattermost/commands/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/mattermost/commands/plugin.go b/cmd/mattermost/commands/plugin.go index 56a57ddf1..810e972ad 100644 --- a/cmd/mattermost/commands/plugin.go +++ b/cmd/mattermost/commands/plugin.go @@ -83,7 +83,7 @@ func pluginAddCmdF(command *cobra.Command, args []string) error { return err } - if _, err := a.InstallPlugin(fileReader); err != nil { + if _, err := a.InstallPlugin(fileReader, false); err != nil { CommandPrintErrorln("Unable to add plugin: " + args[i] + ". Error: " + err.Error()) } else { CommandPrettyPrintln("Added plugin: " + plugin) -- cgit v1.2.3-1-g7c22