From 86a7cf479a1a97442de16f5d59cb007743de8ec5 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Thu, 16 Nov 2023 08:32:57 +0000 Subject: [PATCH] Disable tryMvdir --- .../FlowHelpers/1.0.0/fileMoveOrCopy.ts | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/FlowPluginsTs/FlowHelpers/1.0.0/fileMoveOrCopy.ts b/FlowPluginsTs/FlowHelpers/1.0.0/fileMoveOrCopy.ts index d15e652..d3a4871 100644 --- a/FlowPluginsTs/FlowHelpers/1.0.0/fileMoveOrCopy.ts +++ b/FlowPluginsTs/FlowHelpers/1.0.0/fileMoveOrCopy.ts @@ -68,6 +68,7 @@ const tryMove = async ({ return true; }; +// eslint-disable-next-line @typescript-eslint/no-unused-vars const tryMvdir = async ({ sourcePath, destinationPath, @@ -219,16 +220,17 @@ const fileMoveOrCopy = async ({ return true; } - const mvdird = await tryMvdir({ - sourcePath, - destinationPath, - args, - sourceFileSize, - }); - - if (mvdird) { - return true; - } + // disable: https://github.com/HaveAGitGat/Tdarr/issues/885 + // const mvdird = await tryMvdir({ + // sourcePath, + // destinationPath, + // args, + // sourceFileSize, + // }); + + // if (mvdird) { + // return true; + // } args.jobLog('Failed to move file, trying copy'); }