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

fix(gatsby-plugin-mdx): ignore anything after an import in mdx #25639

Merged
merged 1 commit into from Jul 9, 2020

Conversation

pvdz
Copy link
Contributor

@pvdz pvdz commented Jul 9, 2020

The regex was expecting only whitespace after the path string of an import, not a semi-colon (or comments). See new test cases.

@pvdz pvdz requested a review from a team as a code owner July 9, 2020 09:29
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jul 9, 2020
@gatsby-cloud-staging
Copy link

gatsby-cloud-staging bot commented Jul 9, 2020

Your pull request can be previewed in Gatsby Cloud: https://build-2703d45d-0648-4783-8eee-8aaa900d71d8.staging-previews.gtsb.io

@pvdz pvdz added topic: MDX type: bug An issue or pull request relating to a bug in Gatsby and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jul 9, 2020
freiksenet
freiksenet previously approved these changes Jul 9, 2020
@pvdz
Copy link
Contributor Author

pvdz commented Jul 9, 2020

Ignoring snapshot test fails as they don't use mdx and failed for unrelated reasons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants