Skip to content

Commit

Permalink
make ghc-pkg shut up
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman authored and bgamari committed Jan 30, 2019
1 parent c85d708 commit f00b35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/ghc-pkg/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1822,7 +1822,7 @@ liftIO k = V (k >>= \a -> return (a,[],[]))
reportValidateErrors :: Verbosity -> [ValidateError] -> [ValidateWarning]
-> String -> Maybe Force -> IO Bool
reportValidateErrors verbosity es ws prefix mb_force = do
mapM_ (warn . (prefix++)) ws
when (verbosity >= Normal) $ mapM_ (warn . (prefix++)) ws
oks <- mapM report es
return (and oks)
where
Expand Down

0 comments on commit f00b35f

Please sign in to comment.