Corrected log position

make-only-subtitle-default
jeanchristophe.mqt@gmail.com 2 years ago
parent c21e9594a5
commit d6b7e51389

@ -136,10 +136,9 @@ var getId = function (args, arr, arrHost, headers, fileName, refreshType) { retu
})]; })];
case 4: case 4:
id = _d.apply(_c, [(_j.sent())]); id = _d.apply(_c, [(_j.sent())]);
_j.label = 5;
case 5:
args.jobLog("".concat(refreshType.content, " ").concat(id !== -1 ? "".concat(id, " found") : 'not found', " for '").concat((0, fileUtils_1.getFileName)(fileName), "'")); args.jobLog("".concat(refreshType.content, " ").concat(id !== -1 ? "".concat(id, " found") : 'not found', " for '").concat((0, fileUtils_1.getFileName)(fileName), "'"));
return [2 /*return*/, id]; _j.label = 5;
case 5: return [2 /*return*/, id];
} }
}); });
}); }; }); };

@ -115,8 +115,8 @@ const getId = async (
headers, headers,
})), })),
); );
}
args.jobLog(`${refreshType.content} ${id !== -1 ? `${id} found` : 'not found'} for '${getFileName(fileName)}'`); args.jobLog(`${refreshType.content} ${id !== -1 ? `${id} found` : 'not found'} for '${getFileName(fileName)}'`);
}
return id; return id;
}; };

Loading…
Cancel
Save