diff --git a/FlowPlugins/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.js b/FlowPlugins/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.js index e403445..f9ee076 100644 --- a/FlowPlugins/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.js +++ b/FlowPlugins/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.js @@ -38,12 +38,15 @@ var plugin = function (args) { args.inputs = lib.loadDefaultValues(args.inputs, details); var outputNumber = 1; if (args.inputFileObj.file_size < args.originalLibraryFile.file_size) { + args.jobLog('Working file is smaller than original file.'); outputNumber = 1; } else if (args.inputFileObj.file_size === args.originalLibraryFile.file_size) { + args.jobLog('Working file is same size as original file.'); outputNumber = 2; } else if (args.inputFileObj.file_size > args.originalLibraryFile.file_size) { + args.jobLog('Working file is larger than original file.'); outputNumber = 3; } return { diff --git a/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts b/FlowPluginsTs/CommunityFlowPlugins/file/compareFileSize/1.0.0/index.ts index c1a041e..25e2326 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 file is smaller than original file.'); outputNumber = 1; } else if (args.inputFileObj.file_size === args.originalLibraryFile.file_size) { + args.jobLog('Working file is same size as original file.'); outputNumber = 2; } else if (args.inputFileObj.file_size > args.originalLibraryFile.file_size) { + args.jobLog('Working file is larger than original file.'); outputNumber = 3; }