crystal-lang / shards

Dependency manager for the Crystal language
Other
763 stars 100 forks source link

No shard.yml was found for shard ... at commit ... (incorrect error message) #510

Closed szabgab closed 3 years ago

szabgab commented 3 years ago

I added crystal: >= 0.2.7 to the shard.yml of a shard and made this shard a dependency of another shard. When I ran shards install on this other shard I got an error message No shard.yml was found for shard ... at commit ....

The fix was to put quotes around the value of the crystal filed: crystal: ">= 0.2.7" but IMHO the error message is incorrect.