Do not run JS scanner

Signed-off-by: James Ketrenos <james_gitlab@ketrenos.com>
This commit is contained in:
James Ketrenos 2020-01-06 01:14:09 -08:00
parent 0799e214f5
commit f28293c3f1

View File

@ -264,6 +264,8 @@ require("./db/photos").then(function(db) {
});
}).then((facesToUpdate) => {
console.log(`...${facesToUpdate.length} faces need distances updated.`);
console.log("---- run scanner/scanner !! ---");
return [];
if (facesToUpdate.length == 0) {
return facesToUpdate;
}