Skip to content

Incompatibility with Prettier 3.3.2 #80

@eliasmohsengrenvald

Description

@eliasmohsengrenvald

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)
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions