aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/checker-before-init.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts
index fe7006083..36401f95c 100644
--- a/server/initializers/checker-before-init.ts
+++ b/server/initializers/checker-before-init.ts
@@ -117,12 +117,8 @@ function checkNodeVersion () {
117 117
118 logger.debug('Checking NodeJS version %s.', v) 118 logger.debug('Checking NodeJS version %s.', v)
119 119
120 if (major <= 10) {
121 throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
122 }
123
124 if (major <= 12) { 120 if (major <= 12) {
125 logger.warn('Your NodeJS version ' + v + ' is deprecated. Please upgrade.') 121 throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
126 } 122 }
127} 123}
128 124