Unverified Commit e4d4651d authored by Henrique's avatar Henrique Committed by GitHub

Return non-zero exit code if library install fails due to dependency resolution (#728)

parent a7308748
......@@ -72,6 +72,7 @@ func runInstallCommand(cmd *cobra.Command, args []string) {
})
if err != nil {
feedback.Errorf("Error resolving dependencies for %s: %s", libRef, err)
os.Exit(errorcodes.ErrGeneric)
}
for _, dep := range depsResp.GetDependencies() {
feedback.Printf("%s depends on %s@%s", libRef, dep.GetName(), dep.GetVersionRequired())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment