marcosnils / bin

Effortless binary manager
MIT License
648 stars 45 forks source link

Handle case when GitHub repository does not have releases #130

Closed Stavrospanakakis closed 2 years ago

Stavrospanakakis commented 2 years ago

This commit handles the case when a GitHub repository does not have releases. More specifically, it checks if the status code of the HTTP response equals 404 and then it handles the error.