Skip to content

Conversation

@e-nomem
Copy link
Contributor

@e-nomem e-nomem commented Feb 11, 2021

This PR adds the ability to specify -n lts or --node=lts to automatically install the latest LTS version on Node. It does this by checking if the lts field of the version info, which is either false or the string name of the LTS release, is truthy.

Closes #274

Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

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

otherwise looks good

Copy link
Contributor

@asottile asottile left a comment

Choose a reason for hiding this comment

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

@ekalinin ekalinin merged commit e6a4d51 into ekalinin:master Apr 9, 2021
@ekalinin
Copy link
Owner

ekalinin commented Apr 9, 2021

Thanks!

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.

Add ability to install latest LTS version

3 participants