1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Node 10 is not supported anymore

This commit is contained in:
Chocobozzz 2021-12-24 13:43:59 +01:00
parent fe392059a8
commit 5a63748877
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 7 additions and 2 deletions

View file

@ -117,7 +117,7 @@ function checkNodeVersion () {
logger.debug('Checking NodeJS version %s.', v)
if (major <= 10) {
logger.warn('Your NodeJS version %s is deprecated. Please upgrade.', v)
throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
}
}