diff options
Diffstat (limited to 'std/fs/empty_dir.ts')
-rw-r--r-- | std/fs/empty_dir.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/empty_dir.ts b/std/fs/empty_dir.ts index 8c3083cee..de52890a3 100644 --- a/std/fs/empty_dir.ts +++ b/std/fs/empty_dir.ts @@ -6,7 +6,7 @@ const { readDir, readDirSync, mkdir, mkdirSync, remove, removeSync } = Deno; * Deletes directory contents if the directory is not empty. * If the directory does not exist, it is created. * The directory itself is not deleted. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export async function emptyDir(dir: string): Promise<void> { try { @@ -37,7 +37,7 @@ export async function emptyDir(dir: string): Promise<void> { * Deletes directory contents if the directory is not empty. * If the directory does not exist, it is created. * The directory itself is not deleted. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export function emptyDirSync(dir: string): void { try { |