mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-16 10:45:53 -07:00
Disable tryMvdir
This commit is contained in:
parent
0cfeca600c
commit
86a7cf479a
1 changed files with 11 additions and 9 deletions
|
|
@ -68,6 +68,7 @@ const tryMove = async ({
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
const tryMvdir = async ({
|
const tryMvdir = async ({
|
||||||
sourcePath,
|
sourcePath,
|
||||||
destinationPath,
|
destinationPath,
|
||||||
|
|
@ -219,16 +220,17 @@ const fileMoveOrCopy = async ({
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const mvdird = await tryMvdir({
|
// disable: https://github.com/HaveAGitGat/Tdarr/issues/885
|
||||||
sourcePath,
|
// const mvdird = await tryMvdir({
|
||||||
destinationPath,
|
// sourcePath,
|
||||||
args,
|
// destinationPath,
|
||||||
sourceFileSize,
|
// args,
|
||||||
});
|
// sourceFileSize,
|
||||||
|
// });
|
||||||
|
|
||||||
if (mvdird) {
|
// if (mvdird) {
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
|
|
||||||
args.jobLog('Failed to move file, trying copy');
|
args.jobLog('Failed to move file, trying copy');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue