Skip to content

Commit

Permalink
Don't print LIQUID banner in --quiet mode #1956
Browse files Browse the repository at this point in the history
  • Loading branch information
gergoerdi committed Oct 16, 2024
1 parent 39c7ce4 commit 500e9dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion liquidhaskell-boot/src/Language/Haskell/Liquid/UX/CmdLine.hs
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ reportResult logResultFull cfg targets out = do
let outputResult = resDocs tidy cr
-- For now, always print the \"header\" with colours, irrespective to the logger
-- passed as input.
liftIO $ printHeader (colorResult r) (orHeader outputResult)
when (loggingVerbosity cfg >= Normal) $
liftIO $ printHeader (colorResult r) (orHeader outputResult)
logResultFull outputResult
where
tidy :: F.Tidy
Expand Down

0 comments on commit 500e9dc

Please sign in to comment.