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/copy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'std/fs/copy.ts') diff --git a/std/fs/copy.ts b/std/fs/copy.ts index 85558d905..8ebec3ae1 100644 --- a/std/fs/copy.ts +++ b/std/fs/copy.ts @@ -201,7 +201,7 @@ function copyDirSync(src: string, dest: string, options: CopyOptions): void { /** * Copy a file or directory. The directory can have contents. Like `cp -r`. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. * @param src the file/directory path. * Note that if `src` is a directory it will copy everything inside * of this directory, not the entire directory itself @@ -240,7 +240,7 @@ export async function copy( /** * Copy a file or directory. The directory can have contents. Like `cp -r`. - * Requires the `--allow-read` and `--alow-write` flag. + * Requires the `--allow-read` and `--allow-write` flag. * @param src the file/directory path. * Note that if `src` is a directory it will copy everything inside * of this directory, not the entire directory itself -- cgit v1.2.3