You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the collectFile, the files being collected may have a specific line ending (e.g. \n for unix, \r\n for windows), but adding a newLine uses System.lineSeparator. I would like the line ending used in collectFile to prioritize the line endings that are found in the file. A potential solution would be to inspect the bytes as they're being written to detect any line endings and use that.
The text was updated successfully, but these errors were encountered:
When using the
collectFile
, the files being collected may have a specific line ending (e.g.\n
for unix,\r\n
for windows), but adding anewLine
usesSystem.lineSeparator
. I would like the line ending used incollectFile
to prioritize the line endings that are found in the file. A potential solution would be to inspect the bytes as they're being written to detect any line endings and use that.The text was updated successfully, but these errors were encountered: