mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2026-09-03 20:53:09 -05:00
Deprecate node 12
This commit is contained in:
@@ -119,6 +119,10 @@ function checkNodeVersion () {
|
||||
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.')
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user