Added a check for an option finalEOL.
If the finalEOL is absent in the options object, the EOL(\n) character will be appended at end of file while writing, in order to maintain backward compatibility.
If the finalEOL option has any falsey value, the EOL at the end of the file will be not be written.
Added a check for an option
finalEOL
. If thefinalEOL
is absent in theoptions
object, the EOL(\n
) character will be appended at end of file while writing, in order to maintain backward compatibility.If the
finalEOL
option has any falsey value, the EOL at the end of the file will be not be written.