From 7a097214dff6b1f75d9c11e9b0b1bdf4031bb172 Mon Sep 17 00:00:00 2001 From: Alec Theriault Date: Thu, 27 Dec 2018 16:39:52 -0500 Subject: Address deprecation warnings in `haddock-test` (#988) Fixes #885. --- haddock-test/src/Test/Haddock/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haddock-test/src/Test/Haddock/Config.hs b/haddock-test/src/Test/Haddock/Config.hs index 026b5e41..51394eff 100644 --- a/haddock-test/src/Test/Haddock/Config.hs +++ b/haddock-test/src/Test/Haddock/Config.hs @@ -301,7 +301,7 @@ defaultDiffTool :: IO (Maybe FilePath) defaultDiffTool = liftM listToMaybe . filterM isAvailable $ ["colordiff", "diff"] where - isAvailable = liftM isJust . findProgramLocation silent + isAvailable = liftM isJust . findExecutable defaultStdOut :: FilePath -- cgit v1.2.3