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

Commit ab761e7

Browse files
fendorlukel97
andcommitted
Make error message more legible.
Co-Authored-By: Luke Lau <[email protected]>
1 parent 1ade72c commit ab761e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ getComponent env unitCandidates fp = getComponent' [] [] unitCandidates >>=
581581
++ concatMap ppShowUnitInfo triedUnits
582582
++ [ ""
583583
, ""
584-
, "If you dont know how to expose a module, take a look at:"
584+
, "To expose a module, refer to:"
585585
, "https://www.haskell.org/cabal/users-guide/developing-packages.html"
586586
, ""
587587
]
@@ -828,4 +828,3 @@ cradleDisplay cradle = fromString result
828828
| "multi" `isInfixOf` name = "Multi Component project"
829829
| otherwise = "project"
830830
name = map toLower $ BIOS.actionName (BIOS.cradleOptsProg cradle)
831-

0 commit comments

Comments
 (0)