--quiet back (#226).
This commit is contained in:
parent
8f3fb2a7d7
commit
ab5e082e81
@ -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)
|
||||
|
@ -72,7 +72,7 @@ Library
|
||||
, filepath
|
||||
, ghc
|
||||
, ghc-syb-utils
|
||||
, hlint >= 1.8.58
|
||||
, hlint >= 1.8.61
|
||||
, io-choice
|
||||
, old-time
|
||||
, process
|
||||
|
Loading…
Reference in New Issue
Block a user