mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 10:15:54 -07:00
Removed useless log
This commit is contained in:
parent
9d5f7136f8
commit
9ca5be4a2d
2 changed files with 3 additions and 8 deletions
|
|
@ -180,7 +180,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
||||||
parseRequestResult = _b.sent();
|
parseRequestResult = _b.sent();
|
||||||
_b.label = 3;
|
_b.label = 3;
|
||||||
case 3:
|
case 3:
|
||||||
if (!(parseRequestResult.id !== '-1')) return [3 /*break*/, 8];
|
if (!(parseRequestResult.id !== '-1')) return [3 /*break*/, 7];
|
||||||
previewRenameRequestConfig = {
|
previewRenameRequestConfig = {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: getNewPathType.delegates.buildPreviewRenameResquestUrl(parseRequestResult),
|
url: getNewPathType.delegates.buildPreviewRenameResquestUrl(parseRequestResult),
|
||||||
|
|
@ -207,11 +207,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
|
||||||
output.isSuccessful = true;
|
output.isSuccessful = true;
|
||||||
args.jobLog('✔ No rename necessary.');
|
args.jobLog('✔ No rename necessary.');
|
||||||
_b.label = 7;
|
_b.label = 7;
|
||||||
case 7: return [3 /*break*/, 9];
|
case 7: return [2 /*return*/, output];
|
||||||
case 8:
|
|
||||||
args.jobLog("No ".concat(getNewPathType.appName, " with a file named '").concat(fileName, "'."));
|
|
||||||
_b.label = 9;
|
|
||||||
case 9: return [2 /*return*/, output];
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}); };
|
}); };
|
||||||
|
|
|
||||||
|
|
@ -176,8 +176,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
||||||
output.isSuccessful = true;
|
output.isSuccessful = true;
|
||||||
args.jobLog('✔ No rename necessary.');
|
args.jobLog('✔ No rename necessary.');
|
||||||
}
|
}
|
||||||
} else
|
}
|
||||||
args.jobLog(`No ${getNewPathType.appName} with a file named '${fileName}'.`);
|
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue