Skip to content

Commit

Permalink
remove umask from readme
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 3, 2020
1 parent b694079 commit d2e8533
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ Create a new directory and any necessary subdirectories at `dir` with octal
permission string `opts.mode`. If `opts` is a string or number, it will be
treated as the `opts.mode`.

If `opts.mode` isn't specified, it defaults to `0o777 &
(~process.umask())`.
If `opts.mode` isn't specified, it defaults to `0o777`.

Promise resolves to first directory `made` that had to be created, or
`undefined` if everything already exists. Promise rejects if any errors
Expand All @@ -71,8 +70,7 @@ Synchronously create a new directory and any necessary subdirectories at
`dir` with octal permission string `opts.mode`. If `opts` is a string or
number, it will be treated as the `opts.mode`.

If `opts.mode` isn't specified, it defaults to `0o777 &
(~process.umask())`.
If `opts.mode` isn't specified, it defaults to `0o777`.

Returns the first directory that had to be created, or undefined if
everything already exists.
Expand Down

0 comments on commit d2e8533

Please sign in to comment.