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

Incompatibility with Prettier 3.3.2 #80

Open
eliasmohsengrenvald opened this issue Jun 12, 2024 · 0 comments
Open

Incompatibility with Prettier 3.3.2 #80

eliasmohsengrenvald opened this issue Jun 12, 2024 · 0 comments

Comments

@eliasmohsengrenvald
Copy link

Upgrading Prettier to the latest (3.3.2) causes the following error in precise-commit, please have a look, shouldn't be a big change, there're slight changes in the Prettier's latest API which requires reflection:

.../node_modules/precise-commits/lib/precise-formatters/prettier.js:18
prettier_1.getSupportInfo().languages.forEach(function (language) {
TypeError: Cannot read properties of undefined (reading 'forEach')
.../node_modules/precise-commits/lib/precise-formatters/prettier.js:18:38)
...
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

No branches or pull requests

1 participant