Skip to content

Commit bbcc217

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 <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 b38d6b4 commit bbcc217

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
@@ -4537,7 +4537,7 @@ changes:
45374537
* `withFileTypes` {boolean} **Default:** `false`
45384538
* Returns: {string[]|Buffer[]|fs.Dirent[]}
45394539
4540-
Reads the contents of the director.
4540+
Reads the contents of the directory.
45414541
45424542
See the POSIX readdir(3) documentation for more details.
45434543

0 commit comments

Comments
 (0)