aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/checker-before-init.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-24 13:43:59 +0100
committerChocobozzz <me@florianbigard.com>2021-12-24 13:43:59 +0100
commit5a637488778055906dbacdca735565b2f46f0cf7 (patch)
treeb23f369b875ed0d688738ae4e3268ccf24cd8276 /server/initializers/checker-before-init.ts
parentfe392059a8db1cbf112cc615a652998f2bd85378 (diff)
downloadPeerTube-5a637488778055906dbacdca735565b2f46f0cf7.tar.gz
PeerTube-5a637488778055906dbacdca735565b2f46f0cf7.tar.zst
PeerTube-5a637488778055906dbacdca735565b2f46f0cf7.zip
Node 10 is not supported anymore
Diffstat (limited to 'server/initializers/checker-before-init.ts')
-rw-r--r--server/initializers/checker-before-init.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts
index 2c24e20c8..d2f3bb128 100644
--- a/server/initializers/checker-before-init.ts
+++ b/server/initializers/checker-before-init.ts
@@ -117,7 +117,7 @@ function checkNodeVersion () {
117 logger.debug('Checking NodeJS version %s.', v) 117 logger.debug('Checking NodeJS version %s.', v)
118 118
119 if (major <= 10) { 119 if (major <= 10) {
120 logger.warn('Your NodeJS version %s is deprecated. Please upgrade.', v) 120 throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
121 } 121 }
122} 122}
123 123