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

fix(builtin): take custom node_repositories value into account when checking if Node version exists for the platform #3339

Merged
merged 1 commit into from
Feb 25, 2022

Conversation

mattem
Copy link
Collaborator

@mattem mattem commented Feb 25, 2022

When setting node_repositories attribute on the node_repositories rule (well that's kinda confusing), ensure this is taken into account when checking if the requested node version exists for the platform.

This can be useful when trying to trick rnj into downloading a different version of Node for a given OS (eg, a newer version of Node on darwin arm64), or when setting this attr to a version of Node that isn't included in the default list of NODE_VERSIONS yet.

…hecking if Node version exists for the platform
Copy link
Collaborator

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool thanks

@ghost
Copy link

ghost commented Feb 25, 2022

Awesome. Thank you. Will this make it to a 5.x.x update? I see it is in 4.6.3 now.
I'm assuming it resolves #2992.

@mattem
Copy link
Collaborator Author

mattem commented Feb 25, 2022

Oh wow I didn't realize we already had an open issue for this. Yes this resolves #2992. Yeah this will make a 5.x release (we always just cut from stable)

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.

2 participants