Skip to content

Allow omitting patch version in use command #14

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

Merged

Conversation

marcinlawnik
Copy link

Allows for usage like pvm use 8.0 - chooses newest available patch version, ie. 8.0.9 over 8.0.8.

This is a behavior nvm has that I find really useful.

This could obviously be improved upon.
I've added a test for sorting versions.

Sample:
obraz

…available patch version, ie. 8.0.9 over 8.0.8
@hjbdev
Copy link
Owner

hjbdev commented Mar 26, 2024

Ahhh awesome, I was planning on implementing this myself but hadn't found time.

I'll give this a check over the next couple days, thank you!

@hjbdev hjbdev self-requested a review March 26, 2024 23:17
@hjbdev hjbdev merged commit d4016b7 into hjbdev:master Apr 1, 2024
@hjbdev
Copy link
Owner

hjbdev commented Apr 1, 2024

lgtm!

@marcinlawnik marcinlawnik deleted the omitting-patch-version-in-use-command branch April 5, 2024 06:48
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.

3 participants