Skip to content

Build is broken on master #3147

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

Closed
alxndrsn opened this issue Feb 19, 2024 · 1 comment
Closed

Build is broken on master #3147

alxndrsn opened this issue Feb 19, 2024 · 1 comment

Comments

@alxndrsn
Copy link
Contributor

Screenshot_2024-02-19_09-28-37

From latest build (https://github.com/brianc/node-postgres/actions/runs/7852909425/job/21431903558):

TypeError: prettier.resolveConfig.sync is not a function
Occurred while linting /home/runner/work/node-postgres/node-postgres/docs/components/alert.tsx:1
    at Program (/home/runner/work/node-postgres/node-postgres/node_modules/eslint-plugin-prettier/eslint-plugin-prettier.js:174:40)
    at /home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:58
    at Array.forEach (<anonymous>)
    at Object.emit (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:254:26)
    at NodeEventGenerator.applySelectors (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:283:22)
    at NodeEventGenerator.enterNode (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/node-event-generator.js:297:14)
    at CodePathAnalyzer.enterNode (/home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at /home/runner/work/node-postgres/node-postgres/node_modules/eslint/lib/linter/linter.js:952:32
    at Array.forEach (<anonymous>)

It looks like the problem was introduced in the prettier update made in 9c3ecdc.

@alxndrsn
Copy link
Contributor Author

Now passing.

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