Minor correction

make-only-subtitle-default
jeanchristophe.mqt@gmail.com 2 years ago
parent 2a5b73a8eb
commit 9d5f7136f8

@ -201,7 +201,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
})]; })];
case 5: case 5:
_a.isSuccessful = _b.sent(); _a.isSuccessful = _b.sent();
args.jobLog("\u2714 Renamed ".concat(getNewPathType.contentName, " ").concat(parseRequestResult, " : '").concat(filePath, "' => '").concat(output.newPath, "'.")); args.jobLog("\u2714 Renamed ".concat(getNewPathType.contentName, " ").concat(parseRequestResult.id, " : '").concat(filePath, "' => '").concat(output.newPath, "'."));
return [3 /*break*/, 7]; return [3 /*break*/, 7];
case 6: case 6:
output.isSuccessful = true; output.isSuccessful = true;

@ -171,7 +171,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
destinationPath: output.newPath, destinationPath: output.newPath,
args, args,
}); });
args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult} : '${filePath}' => '${output.newPath}'.`); args.jobLog(`✔ Renamed ${getNewPathType.contentName} ${parseRequestResult.id} : '${filePath}' => '${output.newPath}'.`);
} else { } else {
output.isSuccessful = true; output.isSuccessful = true;
args.jobLog('✔ No rename necessary.'); args.jobLog('✔ No rename necessary.');

Loading…
Cancel
Save