Skip to content

Commit

Permalink
doc: fix typo "director" instead of "directory"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
humanwebpl authored and lpinca committed Mar 2, 2021
1 parent dd83d60 commit 796504d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Expand Up @@ -4533,7 +4533,7 @@ changes:
* `withFileTypes` {boolean} **Default:** `false`
* Returns: {string[]|Buffer[]|fs.Dirent[]}
Reads the contents of the director.
Reads the contents of the directory.
See the POSIX readdir(3) documentation for more details.
Expand Down

0 comments on commit 796504d

Please sign in to comment.