aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/checker-before-init.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/checker-before-init.ts')
-rw-r--r--server/initializers/checker-before-init.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts
index d2f3bb128..458005b98 100644
--- a/server/initializers/checker-before-init.ts
+++ b/server/initializers/checker-before-init.ts
@@ -119,6 +119,10 @@ function checkNodeVersion () {
119 if (major <= 10) { 119 if (major <= 10) {
120 throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.') 120 throw new Error('Your NodeJS version ' + v + ' is not supported. Please upgrade.')
121 } 121 }
122
123 if (major <= 12) {
124 logger.warn('Your NodeJS version ' + v + ' is deprecated. Please upgrade.')
125 }
122} 126}
123 127
124// --------------------------------------------------------------------------- 128// ---------------------------------------------------------------------------