Revert "removes dependencies install for plugins"

This reverts commit 47e363ea15.
This commit is contained in:
bergquist
2018-02-16 09:49:29 +01:00
parent 3b04efa4c0
commit 5bbe047eaa
3 changed files with 23 additions and 3 deletions
@@ -91,7 +91,14 @@ func InstallPlugin(pluginName, version string, c CommandLine) error {
}
logger.Infof("%s Installed %s successfully \n", color.GreenString("✔"), pluginName)
return nil
res, _ := s.ReadPlugin(pluginFolder, pluginName)
for _, v := range res.Dependencies.Plugins {
InstallPlugin(v.Id, version, c)
logger.Infof("Installed dependency: %v ✔\n", v.Id)
}
return err
}
func SelectVersion(plugin m.Plugin, version string) (m.Version, error) {