From 1846a4e3232cb3c2aded0f66247920691ecf2e6a Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Tue, 21 May 2024 10:00:12 +0100 Subject: [PATCH] Add additional compare logging --- .../CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts index c1a041e..b70110b 100644 --- a/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts +++ b/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts @@ -45,10 +45,13 @@ const plugin = (args: IpluginInputArgs): IpluginOutputArgs => { let outputNumber = 1; if (args.inputFileObj.file_size < args.originalLibraryFile.file_size) { + args.jobLog(`Working of size ${args.inputFileObj.file_size} is smaller than original file of size ${args.originalLibraryFile.file_size}`); outputNumber = 1; } else if (args.inputFileObj.file_size === args.originalLibraryFile.file_size) { + args.jobLog(`Working of size ${args.inputFileObj.file_size} is same size as original file of size ${args.originalLibraryFile.file_size}`); outputNumber = 2; } else if (args.inputFileObj.file_size > args.originalLibraryFile.file_size) { + args.jobLog(`Working of size ${args.inputFileObj.file_size} is larger than original file of size ${args.originalLibraryFile.file_size}`); outputNumber = 3; }