Final test completed

This commit is contained in:
jeanchristophe.mqt@gmail.com 2024-02-10 20:46:12 +01:00
parent 88227593f5
commit da5806b00f
2 changed files with 2 additions and 2 deletions

View file

@ -191,7 +191,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
const newPathOutput = await getNewPath(arr === 'radarr' ? getNewPathTypes.radarr : getNewPathTypes.sonarr);
return {
outputFileObj: newPathOutput.isSuccessful && newPathOutput.newPath ? { ...args.inputFileObj, _id: newPathOutput.newPath } : args.inputFileObj,
outputFileObj: newPathOutput.isSuccessful && newPathOutput.newPath !== '' ? { ...args.inputFileObj, _id: newPathOutput.newPath } : args.inputFileObj,
outputNumber: newPathOutput.isSuccessful ? 1 : 2,
variables: args.variables,
};