diff --git a/src/Path.hs b/src/Path.hs index ed19c23..d30e9bb 100644 --- a/src/Path.hs +++ b/src/Path.hs @@ -134,7 +134,6 @@ parseAbsFile filepath = not ("~/" `isPrefixOf` filepath) && not (hasParentDir filepath) && not (null (normalizeFile filepath)) && - filepath /= "." && filepath /= ".." && FilePath.isValid filepath then return (Path (normalizeFile filepath)) else throwM (InvalidAbsFile filepath)