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 module resolution with prettierPath setting #3042

Merged
merged 2 commits into from
Jun 26, 2023
Merged

Conversation

vsiao
Copy link
Contributor

@vsiao vsiao commented Jun 23, 2023

Fixes #3041.

#3038 attempts to find a package.json starting at a given modulePath, but starts one directory further up than it should.

@auto-assign auto-assign bot requested a review from ntotten June 23, 2023 02:49
@whoisarpit
Copy link

Tested this, seems to be working.

@ntotten ntotten merged commit d04b294 into prettier:main Jun 26, 2023
9 checks passed
ntotten added a commit that referenced this pull request Jun 30, 2023
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.

9.16 fails to load from custom prettierPath
4 participants