crystal-lang / shards

Dependency manager for the Crystal language
Other
766 stars 102 forks source link

Fix avoid swallowing error message if git command failed #569

Closed straight-shoota closed 1 year ago

straight-shoota commented 1 year ago

When a git command failed and the error output did not start with "error:", the entire message would be hidden. With this change, it's printed in full.

The other resolvers already have a similar behaviour in place. I'm also adjusting the on for hg in the second commit to follow git.

This was reported in https://forum.crystal-lang.org/t/shards-install-ends-with-faild-git-tag-list-column-never/5242