mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
fix: outputFileBecomesWorkingFile logic when doesCommandCreateOutputFile set false
This commit is contained in:
parent
1d893f31e7
commit
7ca49e5e48
1 changed files with 7 additions and 3 deletions
|
|
@ -196,9 +196,13 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
const customCliPath = String(args.inputs.customCliPath);
|
||||
let cliPath = '';
|
||||
|
||||
const {
|
||||
outputFileBecomesWorkingFile,
|
||||
} = args.inputs;
|
||||
const { doesCommandCreateOutputFile } = args.inputs;
|
||||
let { outputFileBecomesWorkingFile } = args.inputs;
|
||||
|
||||
if (!doesCommandCreateOutputFile) {
|
||||
outputFileBecomesWorkingFile = false;
|
||||
}
|
||||
|
||||
let userOutputFilePath = String(args.inputs.userOutputFilePath);
|
||||
let cliArguments = String(args.inputs.cliArguments);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue