mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-14 15:25:50 +01:00
Update Stackage/CheckPlan.hs
fix typo of mismatches
This commit is contained in:
parent
1ffd48f691
commit
2ba9a9f487
@ -27,7 +27,7 @@ checkPlan settings ii = do
|
|||||||
let dryRun = sort $ filter notOptionalCore $ map (takeWhile (/= ' ')) $ drop 2 $ lines dryRun'
|
let dryRun = sort $ filter notOptionalCore $ map (takeWhile (/= ' ')) $ drop 2 $ lines dryRun'
|
||||||
let mismatches = getMismatches dryRun (filter notOptionalCore $ iiPackageList ii)
|
let mismatches = getMismatches dryRun (filter notOptionalCore $ iiPackageList ii)
|
||||||
unless (null mismatches) $ do
|
unless (null mismatches) $ do
|
||||||
putStrLn "Found the following mismtaches"
|
putStrLn "Found the following mismatches"
|
||||||
mapM_ print mismatches
|
mapM_ print mismatches
|
||||||
exitWith $ ExitFailure 1
|
exitWith $ ExitFailure 1
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user