mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-13 19:22:05 +00:00
Error on node < 8
This commit is contained in:
parent
367df3d70b
commit
cb95aaa4e8
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
const ver = process.version.match(/v(\d+)\.\d+\.\d+/);
|
||||
|
||||
if (parseInt(ver[1], 10) < 6) {
|
||||
if (parseInt(ver[1], 10) < 8) {
|
||||
console.error(
|
||||
`node.js ${process.version} is not supported. ` +
|
||||
'CyTube requires node v6 or later.'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue