Fix syntax error

This commit is contained in:
Chris Done 2015-06-17 18:45:34 +02:00
parent 30890ad3c2
commit df1e191517
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ parseAbsDir filepath =
if FilePath.isAbsolute filepath &&
not (null (normalizeDir filepath)) &&
not (isPrefixOf "~/" filepath) &&
not (hasParentDir filepath) &&
not (hasParentDir filepath)
then return (Path (normalizeDir filepath))
else throwM (InvalidAbsDir filepath)