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 undefined error #10

Merged
merged 1 commit into from
May 4, 2020
Merged

Fix content undefined error #10

merged 1 commit into from
May 4, 2020

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented May 4, 2020

The following error is happening in production:

Cannot read property 'split' of undefined 
    /opt/build/repo/node_modules/netlify-plugin-search-index/parser/meta.js:32:40 visit
    /opt/build/repo/node_modules/unist-util-visit/index.js:27:12 overload
    /opt/build/repo/node_modules/unist-util-visit-parents/index.js:34:25 one
    /opt/build/repo/node_modules/unist-util-visit-parents/index.js:57:16 all
    /opt/build/repo/node_modules/unist-util-visit-parents/index.js:42:28 one
    /opt/build/repo/node_modules/unist-util-visit-parents/index.js:26:3 visitParents
    /opt/build/repo/node_modules/unist-util-visit/index.js:22:3 visit
    /opt/build/repo/node_modules/netlify-plugin-search-index/parser/meta.js:26:9 visit
    /opt/build/repo/node_modules/unist-util-visit/index.js:27:12 overload
    /opt/build/repo/node_modules/unist-util-visit-parents/index.js:34:25 one

This PR fixes this error.

@ehmicky ehmicky requested a review from swyxio May 4, 2020 15:08
@ehmicky ehmicky self-assigned this May 4, 2020
@ehmicky ehmicky mentioned this pull request May 4, 2020
23 tasks
@swyxio swyxio merged commit 689e363 into master May 4, 2020
@swyxio swyxio deleted the fix/content-undefined branch May 4, 2020 16:33
@ehmicky
Copy link
Collaborator Author

ehmicky commented May 4, 2020

Thanks @sw-yx! Would it be possible to make a npm release?

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