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: #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]>
  • Loading branch information
humanwebpl authored and targos committed Mar 2, 2021
1 parent ba81e7c commit dd7a04d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
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 dd7a04d

Please sign in to comment.