update nodejs platform support

pull/293/head
Vladimir Mandic 2020-12-23 13:55:22 -05:00
parent 042ba11648
commit 8b52a6b3d9
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ async function detect(input) {
} }
async function main() { async function main() {
log.info('NodeJS:', process.version);
if (process.argv.length !== 3) log.error('Parameters: <input image>'); if (process.argv.length !== 3) log.error('Parameters: <input image>');
else if (!fs.existsSync(process.argv[2])) log.error(`File not found: ${process.argv[2]}`); else if (!fs.existsSync(process.argv[2])) log.error(`File not found: ${process.argv[2]}`);
else detect(process.argv[2]); else detect(process.argv[2]);

2
wiki

@ -1 +1 @@
Subproject commit 89996eaa377e4e1c2dc292f540235485272d53bf Subproject commit 699af2235b315ef24766839ddc49a198f7cc21c3