summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordomharrington <domharrington@users.noreply.github.com>2020-05-16 02:36:11 -0700
committerGitHub <noreply@github.com>2020-05-16 11:36:11 +0200
commitb34628a26ab0187a827aa4ebe256e23178e25d39 (patch)
treee0cd1e56f0b65471b567f86bdd90d1d5084b64d5
parent76a6a1ff46adde01877fbf4b874dc8d344a74f9c (diff)
docs(std): Fix spelling mistake on permission (#5476)
-rw-r--r--std/fs/ensure_dir.ts4
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 {