Skip to content

Commit 59598d2

Browse files
author
James Halliday
committed
bump and document the made param
1 parent a2d6b7e commit 59598d2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.markdown

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ permission string `mode`.
3333

3434
If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
3535

36+
`cb(err, made)` fires with the error or the first directory `made`
37+
that had to be created, if any.
38+
3639
mkdirp.sync(dir, mode)
3740
----------------------
3841

@@ -41,6 +44,8 @@ with octal permission string `mode`.
4144

4245
If `mode` isn't specified, it defaults to `0777 & (~process.umask())`.
4346

47+
Returns the first directory that had to be created, if any.
48+
4449
install
4550
=======
4651

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name" : "mkdirp",
33
"description" : "Recursively mkdir, like `mkdir -p`",
4-
"version" : "0.3.0",
4+
"version" : "0.3.1",
55
"author" : "James Halliday <[email protected]> (http://substack.net)",
66
"main" : "./index",
77
"keywords" : [

0 commit comments

Comments
 (0)