From 57bd5a7683b724723a05b56d7b52b5cc88f6ddce Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Tue, 28 Aug 2018 10:56:26 -0700 Subject: [PATCH] Move console.log to not show picturesPath Signed-off-by: James Ketrenos --- server/scanner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/scanner.js b/server/scanner.js index 099c02d..c525fcb 100644 --- a/server/scanner.js +++ b/server/scanner.js @@ -184,9 +184,10 @@ function existsPromise(path) { } function convertNefToJpg(path, file) { - path = picturesPath + path; console.log("Converting " + path + "/" + file); + path = picturesPath + path; + return new Promise(function(resolve, reject) { fs.stat(path + "/" + file.replace(/\.nef$/i, ".jpg"), function(err, stats) { if (!err) {