Fix pathExists to also accept dirs

This commit is contained in:
Guillaume Maudoux 2020-11-02 23:57:55 +01:00
parent 53b4db2525
commit dc31c5e64f
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ instance MonadInstantiate IO where
++ err
pathExists :: MonadFile m => FilePath -> m Bool
pathExists = doesFileExist
pathExists = doesPathExist
class Monad m => MonadEnv m where
getEnvVar :: String -> m (Maybe String)