Fix compile issue when using directory-1.2.3

This commit is contained in:
Peter Jones
2016-12-13 13:17:06 -07:00
parent d6b6189cc1
commit 91d23656a3

View File

@@ -499,7 +499,7 @@ findFirstDirOf possibles = do
go [] = return Nothing
go (x:xs) = do
dir <- io x
exists <- io (doesPathExist dir)
exists <- io (doesDirectoryExist dir)
if exists then return (Just dir) else go xs
-- | Simple wrapper around @findFirstDirOf@ that allows the primary