Skip to content

Commit 287f234

Browse files
alewittRyanZim
authored andcommitted
Fix typo in docs (#628)
1 parent 402c1d0 commit 287f234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ensureDir-sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const options = {
2121
fs.ensureDirSync(dir)
2222
// dir has now been created, including the directory it is to be placed in
2323

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

2727
fs.ensureDirSync(dir, options)

0 commit comments

Comments
 (0)