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

Normalize path for Windows #3

Merged
merged 1 commit into from
Jun 13, 2018
Merged

Normalize path for Windows #3

merged 1 commit into from
Jun 13, 2018

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jun 13, 2018

On my Windows machine, file.absolutePath and imagePath were not matching because the former had forward slashes and the latter backward slashes. This might fix #2.

Thanks a lot for this awesome plugin, by the way; this issue was a real blocker for me! I hope the Gatsby team comes up with a solution soon.

On my Windows machine, `file.absolutePath` and `imagePath`  were not matching because the former had forward slashes and the later backward slashes. This might fix #2.
@danielmahon
Copy link
Owner

@axelboc good catch! thanks for the PR, I am also adding normalize to the markdown node sections

danielmahon added a commit that referenced this pull request Jun 13, 2018
@axelboc axelboc deleted the patch-1 branch June 13, 2018 22:19
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.

GraphQL Error Field must not have a selection since type "String" has no subfields.
2 participants