mirror of https://github.com/vladmandic/human
update nodejs platform support
parent
042ba11648
commit
8b52a6b3d9
|
@ -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
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 89996eaa377e4e1c2dc292f540235485272d53bf
|
Subproject commit 699af2235b315ef24766839ddc49a198f7cc21c3
|
Loading…
Reference in New Issue