Skip to content

Handle different EOL formats when loading data#190

Open
Cogito wants to merge 1 commit intoKazetsukai:masterfrom
Cogito:master
Open

Handle different EOL formats when loading data#190
Cogito wants to merge 1 commit intoKazetsukai:masterfrom
Cogito:master

Conversation

@Cogito
Copy link

@Cogito Cogito commented Jul 14, 2020

When cloning the data files with git the line endings can be changed depending on git autocrlf settings.
If there are any carriage returns the parsing fails, so we need to either avoid them or strip them.
This change, stripping the carriage returns in addition to the line feeds, is the simplest and has the
benefit of also handling any future situation where carriage returns are added to the source files.

When cloning the data files with git the line endings can be changed depending on git autocrlf settings.
If there are any carriage returns the parsing fails, so we need to either avoid them or strip them.
This change, stripping the carriage returns in addition to the line feeds, is the simplest and has the
benefit of also handling any future situation where carriage returns are added to the source files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant