-
Notifications
You must be signed in to change notification settings - Fork 6
Include only existent files (no dirs) in config files discovery #3
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
Conversation
jneira
commented
Sep 21, 2020
- To fix Implicit cradle failure: /home/user/.cabal: openFile: inappropriate type (is a directory) haskell/haskell-language-server#417
66f0a5b
to
957fca2
Compare
I'm not sure this is quite correct? Since that function is also used by e.g. |
@georgefst ugh, thanks for noting that, I saw the unused binding and I assumed with no further thinking that it should be used but we forgot to do it. |
957fca2
to
1b9cebd
Compare
Ok i think this version could be correct. It contains some duplication but i think names are clear and the diff is not big. |
@Avi-D-coder dont want to be pushy but could you take a quick look to fix the bug asap? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks correct.
I have not yet tested it.
If you think it's ready feel free to merge and I'll cut a release.
I'm not exactly clear about how to reproduce haskell/haskell-language-server#417, is it a standalone file or a project? What does |
i've reproduced it running hls in console mode in a directory with only a standalone hs and create in its parent directory an empty directory named .cabal |
Thanks. I have no concerns. I used hls with this patch and everything seems to work. Is it ready to merge? |
Yeah, it is ready. Thanks for testing it. |