fix(node): Add a warning to using old node
Some checks failed
continuous-integration/drone/push Build is failing

I don't think it will even get that far to run but nice to have
This commit is contained in:
Sam Therapy 2022-11-29 18:33:16 +01:00
parent ac53ebed77
commit 84d62b6178
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -15,5 +15,9 @@ async function main() {
else await getLocalImage(conf)
}
if (Number(process.versions.node.split('.')[0]) < 16) {
console.error("Please upgrade to node 16. NO GUARENTEES!")
}
// Run the main function, obviously.
main()