Fix syntax error
This commit is contained in:
parent
30890ad3c2
commit
df1e191517
@ -83,7 +83,7 @@ parseAbsDir filepath =
|
|||||||
if FilePath.isAbsolute filepath &&
|
if FilePath.isAbsolute filepath &&
|
||||||
not (null (normalizeDir filepath)) &&
|
not (null (normalizeDir filepath)) &&
|
||||||
not (isPrefixOf "~/" filepath) &&
|
not (isPrefixOf "~/" filepath) &&
|
||||||
not (hasParentDir filepath) &&
|
not (hasParentDir filepath)
|
||||||
then return (Path (normalizeDir filepath))
|
then return (Path (normalizeDir filepath))
|
||||||
else throwM (InvalidAbsDir filepath)
|
else throwM (InvalidAbsDir filepath)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user