uraychang commented on PR #2444:
URL: https://github.com/apache/hop/pull/2444#issuecomment-1436639807

   solution: another indicator `isFileEmpty()` in `isWriteHeader()` was added.
   
   before going to `isWriteHeader()` method because `create a file at the 
start` is enable the file must be created first
   `isFileExists()` in `isWriteHeader()` always gives a true and no chance to 
append the header.
   checking the file empty seems reasonable here since no way we don't write 
the headers to an empty file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to