mirror of
https://github.com/xmonad/xmonad.git
synced 2025-09-02 03:33:47 -07:00
Fix compile issue when using directory-1.2.3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user