require node 10 or higher

This commit is contained in:
cupcakearmy 2019-04-08 20:30:52 +02:00
parent 1edd4087ff
commit 4ffbd21c63

View File

@ -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')
if(parseInt(process.versions.node.split('.')[0]) < 10) throw new Error('Node 10 or higher is required')