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

Make parsing line endings kind agnostic #95

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

larixer
Copy link
Contributor

@larixer larixer commented Jun 6, 2017

At the moment Webpack loader parsing will fail if .graphql files have Unix line endings on Windows machine, because the parser will view the whole file as one line. This patch makes parser correctly understand lines no matter what kind of line endings is used, Unix, Mac or Windows.

@jnwng jnwng merged commit bcff86e into apollographql:master Jun 6, 2017
@jnwng
Copy link
Contributor

jnwng commented Jun 6, 2017

thank you @Vlasenko!

@jnwng
Copy link
Contributor

jnwng commented Jun 6, 2017

this is live in v2.2.2

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.

2 participants