Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check public download before using the API #197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aib
Copy link

@aib aib commented Jun 27, 2024

Useful for when you have a token specified in prebuild-installrc, but you're using some public repositories (e.g. sharp). Attempt a direct download with the downloadUrl before using the token → API → asset download mechanism.

Not too happy with the callback mess here; alternative solutions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant