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 7d16566 commit 6ac21d1Copy full SHA for 6ac21d1
src/Stack/Coverage.hs
@@ -434,7 +434,7 @@ findPackageFieldForBuiltPackage pkgDir pkgId internalLibs field = do
434
extractField path = do
435
contents <- readFileUtf8 (toFilePath path)
436
case asum (map (T.stripPrefix (field <> ": ")) (T.lines contents)) of
437
- Just result -> return $ Right result
+ Just result -> return $ Right $ T.strip result
438
Nothing -> notFoundErr
439
cabalVer <- view cabalVersionL
440
if cabalVer < mkVersion [1, 24]
0 commit comments