Fix pathExists to also accept dirs
This commit is contained in:
parent
53b4db2525
commit
dc31c5e64f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue