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 config file search when stdin #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jhrmnn
Copy link

@jhrmnn jhrmnn commented Feb 2, 2021

Without the fix, the search starts one directory above the current directory.

@danielhollas
Copy link

I just ran into this as well. The fix looks good to me. It would be nice to have a test for this, maybe extending / modifying this test case:

https://github.com/pseewald/fprettify/blob/cb254022c2034ad3b8f744f4dad1bf5b7438815d/fprettify/tests/__init__.py#L253

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.

Config file search broken when using stdin
2 participants