1
0
Fork 0

Node 12 is not supported anymore

This commit is contained in:
Chocobozzz 2022-03-01 14:08:03 +01:00
parent 19e7a90045
commit 90fbb78498
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -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.')
}
}