diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-04 14:29:24 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-04 14:31:18 +0100 |
commit | 9162476fe9fe022ff24bd42ff828aca7c68129ef (patch) | |
tree | 92c13395b0ef057c46e7368b9806067497dcffaa /server/initializers/checker-before-init.ts | |
parent | 3d4e112d16471703f51a542c0cc6e73a6f5db628 (diff) | |
download | PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.gz PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.tar.zst PeerTube-9162476fe9fe022ff24bd42ff828aca7c68129ef.zip |
Support NodeJS 14 and 15, deprecate Node 10
Diffstat (limited to 'server/initializers/checker-before-init.ts')
-rw-r--r-- | server/initializers/checker-before-init.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts index 7cc073603..cac24f0b6 100644 --- a/server/initializers/checker-before-init.ts +++ b/server/initializers/checker-before-init.ts | |||
@@ -107,8 +107,8 @@ function checkNodeVersion () { | |||
107 | 107 | ||
108 | logger.debug('Checking NodeJS version %s.', v) | 108 | logger.debug('Checking NodeJS version %s.', v) |
109 | 109 | ||
110 | if (major < 10) { | 110 | if (major <= 10) { |
111 | logger.warn('Your NodeJS version %s is deprecated. Please use Node 10.', v) | 111 | logger.warn('Your NodeJS version %s is deprecated. Please upgrade.', v) |
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||