From cb95aaa4e88d86469587a3b823c134599204eda5 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 27 Mar 2019 20:33:54 -0700 Subject: [PATCH] Error on node < 8 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 954500ec..328c82fc 100755 --- a/index.js +++ b/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.'