Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
martyall committed Apr 19, 2024
1 parent 69129cc commit 7aac563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chanterelle/Utils/FS.purs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ assertDirectory dn = do
Left _ -> do
-- assume an error means the file doesn't exist
log Debug ("creating directory " <> dn)
liftAff $ FS.mkdir' dn {recursive: true, mode: permsReadWrite}
liftAff $ FS.mkdir' dn { recursive: true, mode: permsReadWrite }
Right stats ->
if not (Stats.isDirectory stats) then throwError ("Path " <> dn <> " exists but is not a directory!")
else log Debug ("path " <> dn <> " exists and is a directory")
Expand Down

0 comments on commit 7aac563

Please sign in to comment.