Skip to content

Commit f951004

Browse files
committed
Remove noisy logMessage notifications in tests
I have never found these useful and they make it much harder to read logs. If there is a test that needs them, please use a custom logger instead of forcing this madness on everyone.
1 parent bbb720f commit f951004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghcide/src/Development/IDE/Core/Shake.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ newSession extras@ShakeExtras{..} shakeDb acts reason = do
711711
++ " (took " ++ showDuration runTime ++ ")"
712712
liftIO $ do
713713
logPriority logger (actionPriority d) msg
714-
notifyTestingLogMessage extras msg
714+
-- notifyTestingLogMessage extras msg
715715

716716
-- The inferred type signature doesn't work in ghc >= 9.0.1
717717
workRun :: (forall b. IO b -> IO b) -> IO (IO ())

0 commit comments

Comments
 (0)