diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2019-01-23 10:59:38 +0800 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-30 10:06:31 -0500 |
commit | f00b35f4ddcc61fb1b1f09854bbbf38934ff0865 (patch) | |
tree | 010d8a755f9c01596d071eb4f1eb38102a1b9612 | |
parent | c85d708c36d6a362d45a4e47ae3fefe18120df89 (diff) | |
download | haskell-f00b35f4ddcc61fb1b1f09854bbbf38934ff0865.tar.gz |
make ghc-pkg shut up
-rw-r--r-- | utils/ghc-pkg/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index 8b7655b3bb..534bbac6dd 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -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 |