--quiet back (#226).

This commit is contained in:
Kazu Yamamoto 2014-04-19 08:26:30 +09:00
parent 8f3fb2a7d7
commit ab5e082e81
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,6 @@ module Language.Haskell.GhcMod.Lint where
import Control.Applicative ((<$>))
import Data.List (intercalate)
import Language.Haskell.GhcMod.Types
import Language.Haskell.GhcMod.Utils
import Language.Haskell.HLint (hlint)
-- | Checking syntax of a target file using hlint.
@ -22,4 +21,4 @@ lintSyntax opt file = pack <$> lint hopts file
lint :: [String]
-> FilePath -- ^ A target file.
-> IO [String]
lint hopts file = map show <$> suppressStdout (hlint (file : hopts))
lint hopts file = map show <$> hlint (file : "--quiet" : hopts)

View File

@ -72,7 +72,7 @@ Library
, filepath
, ghc
, ghc-syb-utils
, hlint >= 1.8.58
, hlint >= 1.8.61
, io-choice
, old-time
, process