mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
👕 Fix lint issue
This commit is contained in:
parent
6cc986c516
commit
c8e85b5d6d
|
@ -22,7 +22,7 @@ if (process.argv.length === 2) {
|
|||
process.argv.push('start');
|
||||
}
|
||||
|
||||
const nodeVersion = process.versions.node.split('.');
|
||||
var nodeVersion = process.versions.node.split('.');
|
||||
|
||||
if (parseInt(nodeVersion[0], 10) < 12 || parseInt(nodeVersion[0], 10) === 12 && parseInt(nodeVersion[1], 10) < 9) {
|
||||
console.log(`\nYour Node.js version (${process.versions.node}) is too old to run n8n.\nPlease update to version 12.9 or later!\n`);
|
||||
|
|
Loading…
Reference in a new issue