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 error when no Prettier options provided #46

Merged
merged 1 commit into from Feb 8, 2022
Merged

Fix error when no Prettier options provided #46

merged 1 commit into from Feb 8, 2022

Conversation

bradlc
Copy link
Contributor

@bradlc bradlc commented Feb 8, 2022

Fixes #40

This PR adds a default value for the options parameter as sometimes this can be undefined

@bradlc bradlc merged commit 1d6ca9a into main Feb 8, 2022
@bradlc bradlc deleted the fix-40 branch February 8, 2022 11:25
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.

Error when running with Jest & toMatchInlineSnapshot: Cannot read properties of undefined (reading 'filepath')
1 participant