mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Fix error message with cliPath
This commit is contained in:
parent
f8ee3169f3
commit
d29f7990ec
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
||||||
const res = await cli.runCli();
|
const res = await cli.runCli();
|
||||||
|
|
||||||
if (res.cliExitCode !== 0) {
|
if (res.cliExitCode !== 0) {
|
||||||
const msg = `Running ${userCli} failed`;
|
const msg = `Running ${cliPath} failed`;
|
||||||
args.jobLog(msg);
|
args.jobLog(msg);
|
||||||
throw new Error(msg);
|
throw new Error(msg);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue