fix(node): Add a warning to using old node
Some checks failed
continuous-integration/drone/push Build is failing
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:
parent
ac53ebed77
commit
84d62b6178
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue