mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-02-13 02:08:36 -06:00
fixed unit test
This commit is contained in:
@@ -138,6 +138,11 @@ public class CreateThumbnail : VideoNode
|
||||
args.Logger?.ELog("Failed to resize thumbnail: " + error);
|
||||
return 2;
|
||||
}
|
||||
#if(DEBUG)
|
||||
// unit test doesnt have image helper
|
||||
if (File.Exists(resizedThumbnailPath) == false && File.Exists(thumbnailPath))
|
||||
resizedThumbnailPath = thumbnailPath;
|
||||
#endif
|
||||
|
||||
if (args.FileService.FileMove(resizedThumbnailPath, output).Failed(out error))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user