Update the plugin directory logic

This commit is contained in:
Brian Kassouf
2017-04-13 11:22:53 -07:00
parent b20c17745c
commit 07f3f4fc26
2 changed files with 12 additions and 0 deletions

View File

@@ -273,6 +273,11 @@ func (c *Config) Merge(c2 *Config) *Config {
result.EnableUI = c2.EnableUI
}
result.PluginDirectory = c.PluginDirectory
if c2.PluginDirectory != "" {
result.PluginDirectory = c2.PluginDirectory
}
return result
}