From b34628a26ab0187a827aa4ebe256e23178e25d39 Mon Sep 17 00:00:00 2001 From: domharrington Date: Sat, 16 May 2020 02:36:11 -0700 Subject: [PATCH] docs(std): Fix spelling mistake on permission (#5476) --- std/fs/ensure_dir.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/std/fs/ensure_dir.ts b/std/fs/ensure_dir.ts index 34053b1575..43b230ae14 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 { try { @@ -28,7 +28,7 @@ export async function ensureDir(dir: string): Promise { /** * 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 {