From 1ec8a89e011e83a299f44666268f9d52fe81dd3c Mon Sep 17 00:00:00 2001 From: humanwebpl <58517331+humanwebpl@users.noreply.github.com> Date: Fri, 26 Feb 2021 13:34:09 +0100 Subject: [PATCH] Fix typo: "director" instead of "directory" Change fs.readdirSync() description from "Reads the contents of the director." to "Reads the contents of the directory." --- doc/api/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 2c0b26f2dca01e..05e4ed09cda2e4 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -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.