File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ const latest = 10;
3030console . log ( 'current nodejs version is %s' , version )
3131console . log ( 'current edgemicro version is %s' , edgemicroVersion ) ;
3232
33- for ( ver in experimental ) {
33+ for ( var ver in experimental ) {
3434 if ( version . includes ( experimental [ ver ] ) ) {
3535 console . log ( "You are using a version of NodeJS that is not supported" ) ;
3636 return ;
3737 }
3838}
3939
40- majorVersion = parseInt ( version . split ( "." ) [ 0 ] . replace ( "v" , "" ) ) ;
40+ var majorVersion = parseInt ( version . split ( "." ) [ 0 ] . replace ( "v" , "" ) ) ;
4141
42- if ( majorVersion < lts_version || majorVersion > latest ) {
42+ if ( majorVersion < ltsVersion || majorVersion > latest ) {
4343 console . log ( "You are using a version of NodeJS that is not supported" ) ;
4444 return ;
4545} else {
You can’t perform that action at this time.
0 commit comments