Fix error message with cliPath

make-only-subtitle-default
HaveAGitGat 2 years ago
parent f8ee3169f3
commit d29f7990ec

@ -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…
Cancel
Save