Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 3ed7833

Browse files
committed
Fix typo in documentation of the project root discovery
1 parent 232e7d6 commit 3ed7833

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hie-plugin-api/Haskell/Ide/Engine/Cradle.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ directories, it is safe to assume that "B.cabal" marks the root of the project.
9090
9191
Thus:
9292
>>> findCabalHelperEntryPoint "/Foo/B/src/Lib2.hs
93-
Just (Ex (ProjLocStackYaml { plStackYaml = "/Foo/B/"}))
93+
Just (Ex (ProjLocStackYaml { plStackYaml = "/Foo/"}))
9494
9595
or
9696
>>> findCabalHelperEntryPoint "/Foo/B/src/Lib2.hs
97-
Just (Ex (ProjLocV2File { plProjectDirV2 = "/Foo/B/"}))
97+
Just (Ex (ProjLocV2File { plProjectDirV2 = "/Foo/"}))
9898
9999
In the given example, it is not guaranteed which project type is found,
100100
it is only guaranteed that it will not identify the project

0 commit comments

Comments
 (0)