Skip to content

Commit a71069c

Browse files
committed
Add trailing /
1 parent 2de791e commit a71069c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Hie/Cabal/Parser.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ parseBench = parseSecMain (Comp Bench) "benchmark"
7474
parseSecMain :: (Name -> Path -> Component) -> Text -> Indent -> Parser Component
7575
parseSecMain c s i = do
7676
n <- componentHeader i s
77-
c n <$> pathMain (i + 1) "." ""
77+
c n <$> pathMain (i + 1) "./" ""
7878

7979
parseQuoted :: Parser Text
8080
parseQuoted = do
@@ -139,7 +139,7 @@ extractPath i =
139139
pure p
140140
)
141141
<|> (skipBlockLine i >> extractPath i <?> "skip line")
142-
<|> (pure "." <?> "not found") <?> "extractPath"
142+
<|> (pure "./" <?> "not found") <?> "extractPath"
143143

144144
-- | Skip at least n spaces
145145
indent :: Indent -> Parser ()

0 commit comments

Comments
 (0)