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
No cabal files #43
Comments
It seems that there's no
isCabalFile :: FilePath -> Bool
isCabalFile f = takeExtension' f == ".cabal"
takeExtension' :: FilePath -> String
takeExtension' p =
if takeFileName p == takeExtension p
then "" -- just ".cabal" is not a valid cabal file
else takeExtension p
Is there a |
Yeah, this was related to me not specifying the full |
I agree that the error message should be more descriptive. I've added the check for |
I think the issue is fixed. |
I get this error when trying to index one of the packages in a project.
After adding a trace to the line:
I get
[]
.The text was updated successfully, but these errors were encountered: