diff --git a/docs/ensureDir-sync.md b/docs/ensureDir-sync.md index e03d37bc..f0f1cdb9 100644 --- a/docs/ensureDir-sync.md +++ b/docs/ensureDir-sync.md @@ -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)