Skip to content

Commit 796504d

Browse files
humanwebpllpinca
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: nodejs#37523 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent dd83d60 commit 796504d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/fs.md

Lines changed: 1 addition & 1 deletion
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)