diff options
Diffstat (limited to 'std/fs')
-rw-r--r-- | std/fs/ensure_dir.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts index 34053b157..43b230ae1 100644 --- a/std/fs/ensure_dir.ts +++ b/std/fs/ensure_dir.ts @@ -5,7 +5,7 @@ const { lstat, lstatSync, mkdir, mkdirSync } = Deno; /** * Ensures that the directory exists. * If the directory structure does not exist, it is created. Like mkdir -p. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export async function ensureDir(dir: string): Promise<void> { try { @@ -28,7 +28,7 @@ export async function ensureDir(dir: string): Promise<void> { /** * Ensures that the directory exists. * If the directory structure does not exist, it is created. Like mkdir -p. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export function ensureDirSync(dir: string): void { try { |