Move console.log to not show picturesPath
Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
parent
723cf4c99a
commit
57bd5a7683
@ -184,9 +184,10 @@ function existsPromise(path) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function convertNefToJpg(path, file) {
|
function convertNefToJpg(path, file) {
|
||||||
path = picturesPath + path;
|
|
||||||
console.log("Converting " + path + "/" + file);
|
console.log("Converting " + path + "/" + file);
|
||||||
|
|
||||||
|
path = picturesPath + path;
|
||||||
|
|
||||||
return new Promise(function(resolve, reject) {
|
return new Promise(function(resolve, reject) {
|
||||||
fs.stat(path + "/" + file.replace(/\.nef$/i, ".jpg"), function(err, stats) {
|
fs.stat(path + "/" + file.replace(/\.nef$/i, ".jpg"), function(err, stats) {
|
||||||
if (!err) {
|
if (!err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user