From 4ffbd21c638131bfa916660ac3a78282bae5d8a4 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Mon, 8 Apr 2019 20:30:52 +0200 Subject: [PATCH] require node 10 or higher --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index f4b767a..354c1d7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -12,4 +12,4 @@ module.exports = { } // Require node 11 -if(parseInt(process.versions.node.split('.')[0]) < 11) throw new Error('Node 11 or higher is required') \ No newline at end of file +if(parseInt(process.versions.node.split('.')[0]) < 10) throw new Error('Node 10 or higher is required') \ No newline at end of file