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(content): handle empty lang #765

Merged
merged 3 commits into from
Feb 10, 2021
Merged

fix(content): handle empty lang #765

merged 3 commits into from
Feb 10, 2021

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Feb 10, 2021

…ighlighter

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Regression from #755. Reproducable on nuxt/nuxtjs.org:

 WARN  Could not parse ./content/en/blog/moving-from-nuxtjs-dotenv-to-runtime-config.md: Cannot read property 'match' of null                                                    @nuxt/content 15:50:42

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes (if not applicable, please state why)

@pi0 pi0 mentioned this pull request Feb 10, 2021
@pi0 pi0 changed the title fix(content): handle empty lang and avoid hiding stack-trace fix(content): handle empty lang Feb 10, 2021
@pi0 pi0 mentioned this pull request Feb 10, 2021
@benjamincanac benjamincanac merged commit 60e758c into dev Feb 10, 2021
@benjamincanac benjamincanac deleted the fix/no-lang branch February 10, 2021 15:45
@benjamincanac
Copy link
Member

@pi0 Thanks! Just released @nuxt/content v1.13.1

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