Skip to content

Commit f6fd17d

Browse files
committed
warn node 20 or above will be required in next release
Signed-off-by: si458 <simonsmith5521@gmail.com>
1 parent 5b2860f commit f6fd17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshcentral.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,7 +1431,7 @@ function CreateMeshCentralServer(config, args) {
14311431
var i;
14321432

14331433
// Add NodeJS version warning if needed
1434-
if (Number(process.version.match(/^v(\d+\.\d+)/)[1]) < 16) { addServerWarning("MeshCentral will require Node v16 or above in the future, your current version is " + process.version + "."); }
1434+
if (Number(process.version.match(/^v(\d+\.\d+)/)[1]) < 20) { addServerWarning("MeshCentral will require Node v20 or above in the future, your current version is " + process.version + "."); }
14351435

14361436
// Setup certificate operations
14371437
obj.certificateOperations = require('./certoperations.js').CertificateOperations(obj);

0 commit comments

Comments
 (0)