We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2de791e commit a71069cCopy full SHA for a71069c
src/Hie/Cabal/Parser.hs
@@ -74,7 +74,7 @@ parseBench = parseSecMain (Comp Bench) "benchmark"
74
parseSecMain :: (Name -> Path -> Component) -> Text -> Indent -> Parser Component
75
parseSecMain c s i = do
76
n <- componentHeader i s
77
- c n <$> pathMain (i + 1) "." ""
+ c n <$> pathMain (i + 1) "./" ""
78
79
parseQuoted :: Parser Text
80
parseQuoted = do
@@ -139,7 +139,7 @@ extractPath i =
139
pure p
140
)
141
<|> (skipBlockLine i >> extractPath i <?> "skip line")
142
- <|> (pure "." <?> "not found") <?> "extractPath"
+ <|> (pure "./" <?> "not found") <?> "extractPath"
143
144
-- | Skip at least n spaces
145
indent :: Indent -> Parser ()
0 commit comments