Skip to content

Commit

Permalink
Update major version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte committed Jan 27, 2017
1 parent 8a702a1 commit 2506626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/scripts/node_npm_compatibility
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function version() {

parts = NODE_VERSION.split( '.' );
major = parseInt( parts[ 0 ], 10 );
if ( major <= 1 ) {
if ( major <= 3 ) {
return '>2.7.0 <4.0.0';
}
return '>2.7.0';
Expand Down

0 comments on commit 2506626

Please sign in to comment.