Skip to content

Commit dd7a04d

Browse files
humanwebpltargos
authored andcommittedMar 2, 2021
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 ba81e7c commit dd7a04d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)