diff options
author | Jesse Hallam <jesse.hallam@gmail.com> | 2018-07-26 08:45:26 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-07-26 08:45:26 -0400 |
commit | 8948b91d7a80169b12907e16581cfdd53bbb73f1 (patch) | |
tree | dd84c35a664c7787b8080920692dc943b58f5d31 /cmd/mattermost/commands | |
parent | f8f80d80df1e27e2ed4dcc91518bf504ab7f3e34 (diff) | |
download | chat-8948b91d7a80169b12907e16581cfdd53bbb73f1.tar.gz chat-8948b91d7a80169b12907e16581cfdd53bbb73f1.tar.bz2 chat-8948b91d7a80169b12907e16581cfdd53bbb73f1.zip |
unpack prepacked plugins on plugins initialization (#9149)
* unpack prepackaged plugins on plugins initialization
* leverage utils.FindDir
Diffstat (limited to 'cmd/mattermost/commands')
-rw-r--r-- | cmd/mattermost/commands/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |