mirror of
https://github.com/cupcakearmy/occulto.git
synced 2024-12-22 09:06:27 +00:00
require node 11 or higher
This commit is contained in:
parent
09a4ec5133
commit
dd43b73e40
@ -9,4 +9,7 @@ const exp = {
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
...exp,
|
...exp,
|
||||||
default: exp,
|
default: exp,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Require node 11
|
||||||
|
if(parseInt(process.versions.node.split('.')[0]) < 11) throw new Error('Node 11 or higher is required')
|
Loading…
Reference in New Issue
Block a user