mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
a4fc43e682
Many plugins were having this problem where they rely on accessing GitHub's API for listing versions from some repo releases. But not setting an Authorization token for `curl`, causes the test to fail. We now detect that if the plugin `list-all` looks like accessing `api.github.com` and if so, we also try to guess if the Authroization header will be set. If not, we fail the test and head the plugin author to some documentation on how to add it. Hope this reduces the number of failures due to GitHub API rate limiting on travis. |
||
---|---|---|
.. | ||
commands | ||
utils.sh |