Browse Source
fix: remove upper range node.js version check
pull/7142/head
Nicolas Giard
10 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
0 additions and
8 deletions
-
server/index.js
|
|
@ -8,14 +8,6 @@ const { nanoid } = require('nanoid') |
|
|
|
const { DateTime } = require('luxon') |
|
|
|
const { gte } = require('semver') |
|
|
|
|
|
|
|
// ----------------------------------------
|
|
|
|
// Check Node.js version
|
|
|
|
// ----------------------------------------
|
|
|
|
if (gte(process.version, '21.0.0')) { |
|
|
|
console.error('You\'re using an unsupported Node.js version. Please read the requirements.') |
|
|
|
process.exit(1) |
|
|
|
} |
|
|
|
|
|
|
|
// ----------------------------------------
|
|
|
|
// Init WIKI instance
|
|
|
|
// ----------------------------------------
|
|
|
|