From 6257684da62bbefb5b9fbeac01ef7c72598c85ca Mon Sep 17 00:00:00 2001 From: Akash Vishwakarma Date: Sun, 17 May 2020 00:06:13 +0530 Subject: Fix spelling: "--alow-write" => "--allow-write" (#5486) --- std/fs/ensure_file.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/fs/ensure_file.ts') diff --git a/std/fs/ensure_file.ts b/std/fs/ensure_file.ts index 2539c71ac..a1476b657 100644 --- a/std/fs/ensure_file.ts +++ b/std/fs/ensure_file.ts @@ -10,7 +10,7 @@ const { lstat, lstatSync, writeFile, writeFileSync } = Deno; * exist. * these directories are created. If the file already exists, * it is NOTMODIFIED. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export async function ensureFile(filePath: string): Promise { try { @@ -41,7 +41,7 @@ export async function ensureFile(filePath: string): Promise { * exist, * these directories are created. If the file already exists, * it is NOT MODIFIED. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. */ export function ensureFileSync(filePath: string): void { try { -- cgit v1.2.3