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

Fixed a bug where node 6.10 would be converted to 6.1 #239

Closed
wants to merge 3 commits into from
Closed

Fixed a bug where node 6.10 would be converted to 6.1 #239

wants to merge 3 commits into from

Conversation

jamespearson
Copy link

The previous way converted a s "6.10" to 6.1 before comparison with 6.4. This meant that Node 6.10 (the LTS running on Heroku) was converted to 6.1, and was less than the required 6.4

This change now compares on major version first, then an integer of the major and minor.

The previous way converted a s "6.10" to 6.1 before comparison with 6.4. This meant that Node 6.10 (the LTS running on Heroku) was converted to 6.1, and was less than the required 6.4

This change now compares on major version first, then an integer of the major and minor.
@aganov
Copy link
Contributor

aganov commented Apr 6, 2017

This is already covered by #232

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