From 287f234817871976f80e28ab50b339471e4c4223 Mon Sep 17 00:00:00 2001 From: Alexander Lewitt Date: Fri, 5 Oct 2018 16:36:05 -0400 Subject: [PATCH] Fix typo in docs (#628) --- docs/ensureDir-sync.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)