Skip to content

Fix error when no Prettier options provided#46

Merged
bradlc merged 1 commit intomainfrom
fix-40
Feb 8, 2022
Merged

Fix error when no Prettier options provided#46
bradlc merged 1 commit intomainfrom
fix-40

Conversation

@bradlc
Copy link
Copy Markdown
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
bronisMateusz pushed a commit to bronisMateusz/prettier-plugin-tailwindcss-drupal that referenced this pull request Apr 16, 2025
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