Skip to content

Commit dd7a04d

Browse files
humanwebpltargos
authored andcommitted
doc: fix typo "director" instead of "directory"
Change fs.readdirSync() description from "Reads the contents of the director." to "Reads the contents of the directory." PR-URL: #37523 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Harshitha K P <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent ba81e7c commit dd7a04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/api/fs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4533,7 +4533,7 @@ changes:
45334533
* `withFileTypes` {boolean} **Default:** `false`
45344534
* Returns: {string[]|Buffer[]|fs.Dirent[]}
45354535
4536-
Reads the contents of the director.
4536+
Reads the contents of the directory.
45374537
45384538
See the POSIX readdir(3) documentation for more details.
45394539

0 commit comments

Comments
 (0)