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

wildcard major version to latest X.y..z #222

Merged
merged 1 commit into from
Aug 2, 2018

Conversation

kylewuolle
Copy link
Contributor

added check in install function so that if only the major version number is specified, the latest version of that will be installed

fixes 214

added check in install function so that if only the major version number is specified, the latest version of that will be installed

fixes 214
Copy link
Owner

@coreybutler coreybutler left a comment

Choose a reason for hiding this comment

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

lgtm

@coreybutler coreybutler merged commit 476e11d into coreybutler:master Aug 2, 2018
@Flarna
Copy link

Flarna commented Aug 24, 2018

Seems this works only for NodeJS < 10 where the major version has only 1 char.

@egoroof
Copy link

egoroof commented May 1, 2020

yeah, nvm install 12 installs 12.0.0 :(

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.

4 participants