Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hie-plugin-api/Haskell/Ide/Engine/Cradle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,12 @@ findCabalHelperEntryPoint fp = do
isStackProject (Ex ProjLocStackYaml {}) = True
isStackProject _ = False

isCabalNewProject (Ex ProjLocV2Dir {}) = True
isCabalNewProject (Ex ProjLocV2File {}) = True
isCabalNewProject _ = False

isCabalOldProject (Ex ProjLocV1Dir {}) = True
isCabalOldProject (Ex ProjLocV1CabalFile {}) = True
isCabalOldProject (Ex ProjLocV2Dir {}) = True
isCabalOldProject _ = False

{- | Given a FilePath, find the cradle the FilePath belongs to.
Expand Down