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

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
1 changed files with 4 additions and 0 deletions

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()