Skip to content

Commit 6bc598e

Browse files
committed
use display instead of a custom Path converter
1 parent 8258205 commit 6bc598e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Stack/Package.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,13 +1173,12 @@ logPossibilities dirs mn = do
11731173
[ flow "Unable to find a known candidate for the Cabal entry"
11741174
, (styleModule . fromString $ D.display mn) <> ","
11751175
, flow "but did find:"
1176-
, line <> bulletedList (map dispPoss possibilities)
1176+
, line <> bulletedList (map display possibilities)
11771177
, flow "If you are using a custom preprocessor for this module"
11781178
, flow "with its own file extension, consider adding the file(s)"
11791179
, flow "to your .cabal under extra-source-files."
11801180
]
11811181
where
1182-
dispPoss = styleFile . fromString . toFilePath
11831182
makePossibilities name =
11841183
mapM
11851184
(\dir ->

0 commit comments

Comments
 (0)