Remove redundant check for /= . or ..

This commit is contained in:
Chris Done 2016-03-04 15:10:57 +01:00
parent 62c681819c
commit 9d357b24c8
1 changed files with 0 additions and 1 deletions

View File

@ -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)