atomist-attic / artifact-source

ArtifactSource abstraction for source code
GNU General Public License v3.0
2 stars 3 forks source link

atomist/rug#47 always output system dependent EOL chars #14

Closed kipz closed 7 years ago

kipz commented 7 years ago

Beware! This change ensures that by default the .content method returns strings with EOL for the current system (i.e. \r\n for windows, \n for just about anything else).

This means that any output generated on windows will have windows EOL characters. Most editors shouldn't mind this as we standardise when we read the files in in the first place.

In the future we may want to improve this such that OEL handling is based on the EOL from the original file...