Skip to content

Commit

Permalink
Fix typo in docs (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
alewitt authored and RyanZim committed Oct 5, 2018
1 parent 402c1d0 commit 287f234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ensureDir-sync.md
Expand Up @@ -21,7 +21,7 @@ const options = {
fs.ensureDirSync(dir)
// dir has now been created, including the directory it is to be placed in

fs.ensureDirSync(dir, desiredMod)
fs.ensureDirSync(dir, desiredMode)
// dir has now been created, including the directory it is to be placed in with permission 0o2775

fs.ensureDirSync(dir, options)
Expand Down

0 comments on commit 287f234

Please sign in to comment.