crystal-lang / shards

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

Improve error message when locked version is missing in source #466

Closed straight-shoota closed 3 years ago

straight-shoota commented 3 years ago

When running shards install and the locked version is not available in the source, it's an error. This error is now more explicit in describing this situation and recommends to run shards update.

This patch does not change any behaviour (as proposed in https://github.com/crystal-lang/shards/issues/465#issuecomment-763253847), it just improves the error reporting.

Related to #465