Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle different EOL formats when loading data #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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