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: more robust computation of git directory #163

Closed
wants to merge 0 commits into from

Conversation

ciyer
Copy link

@ciyer ciyer commented Jun 22, 2023

Thanks for making this very useful tool available!

I found bug in how pretty-quick deals with submodules. It is related to an existing issue #90, which was closed by PR #92, but the changes here are a more robust fix for that problem.

If the root directory of the git repo is a parent of where pretty-quick is running (e.g., an npm package in a mono-repo which is a submodule), then the existing implementation will fail to find the correct git directory.

This PR should fix this problem. Let me know if you need any changes from my side in order to merge this fix.

Copy link

changeset-bot bot commented Jan 17, 2024

⚠️ No Changeset found

Latest commit: 93924ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@JounQin
Copy link
Member

JounQin commented Jan 17, 2024

Replaced by #183

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.

2 participants