diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-05-17 19:24:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 19:24:39 +0200 |
commit | 36fde75d779078118af3b2b6c078bcbfb47b1a0f (patch) | |
tree | c3cef9095b5c4ef762edc535be28d4e112928db4 /std/fs/empty_dir.ts | |
parent | eddb916883901385233bea24313e2920fcac5388 (diff) |
Miscellaneous documentation and spelling improvements (#5527)
* Extended/updated documentation on code editor setup and plugins.
* Moved documentation to the right file.
* Fixed spelling errors in documentation and code.
* Updated broken links.
Co-authored-by: 迷渡 <justjavac@gmail.com>
Co-authored-by: AlfieriChou <alfierichou@gmail.com>
Co-authored-by: Anil Seervi <anil13112000@gmail.com
Co-authored-by: Bert Belder <bertbelder@gmail.com>
Co-authored-by: Fernando Basso <fernandobasso.br@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: S4ltyGo4t <mario.weidner@gmx.de>
Co-authored-by: Tommy May <tommymay37@gmail.com>
Co-authored-by: Turbinya <wownucleos@gmail.com>
Co-authored-by: ᴜɴвʏтᴇ <i@shangyes.net>
Diffstat (limited to 'std/fs/empty_dir.ts')
-rw-r--r-- | std/fs/empty_dir.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts index de52890a3..2f5d2deeb 100644 --- a/std/fs/empty_dir.ts +++ b/std/fs/empty_dir.ts @@ -43,7 +43,7 @@ export function emptyDirSync(dir: string): void { try { const items = [...readDirSync(dir)]; - // if directory already exist. then remove it's child item. + // If the directory exists, remove all entries inside it. while (items.length) { const item = items.shift(); if (item && item.name) { |