Node 12 is not supported anymore
This commit is contained in:
parent
19e7a90045
commit
90fbb78498
1 changed files with 1 additions and 5 deletions
|
@ -117,12 +117,8 @@ function checkNodeVersion () {
|
|||
|
||||
logger.debug('Checking NodeJS version %s.', v)
|
||||
|
||||
if (major <= 10) {
|
||||
throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
|
||||
}
|
||||
|
||||
if (major <= 12) {
|
||||
logger.warn('Your NodeJS version ' + v + ' is deprecated. Please upgrade.')
|
||||
throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue