diff --git a/CHANGELOG.md b/CHANGELOG.md index 3842eeb..97f17b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based Breaking changes: - Update project and deps to PureScript v0.15.0 (#33 by @JordanMartinez, @thomashoneyman, @sigma-andex) +- Update `mkdir'` to take options arg (#34 by @JordanMartinez) New features: diff --git a/src/Node/FS/Aff.purs b/src/Node/FS/Aff.purs index 3d4a570..7d5e4f5 100644 --- a/src/Node/FS/Aff.purs +++ b/src/Node/FS/Aff.purs @@ -163,9 +163,9 @@ mkdir :: FilePath -> Aff Unit mkdir = toAff1 A.mkdir -- | --- | Makes a new directory with the specified permissions. +-- | Makes a new directory with all of its options. -- | -mkdir' :: FilePath -> Perms -> Aff Unit +mkdir' :: FilePath -> { recursive :: Boolean, mode :: Perms } -> Aff Unit mkdir' = toAff2 A.mkdir' -- |