Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Update mkdir' type sig #34

Merged
merged 2 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions src/Node/FS/Aff.purs
Original file line number Diff line number Diff line change
Expand Up @@ -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'

-- |
Expand Down