diff options
author | Akshat Agarwal <humancalico@disroot.org> | 2020-04-27 01:56:02 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 16:26:02 -0400 |
commit | 4f9bb11444ba7236f28ef1e722100b485c185c7c (patch) | |
tree | 9b5b19bcaf1a440166c7ecf814a65fb343343628 /std/io/ioutil.ts | |
parent | 26dfd3c110ced12f2bd374de391c2c05e24290d8 (diff) |
reorder copyN arguments to match Deno.copy (#4900)
Diffstat (limited to 'std/io/ioutil.ts')
-rw-r--r-- | std/io/ioutil.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/ioutil.ts b/std/io/ioutil.ts index cfcfdf794..9a727f436 100644 --- a/std/io/ioutil.ts +++ b/std/io/ioutil.ts @@ -8,8 +8,8 @@ import { assert } from "../testing/asserts.ts"; * If read size is lesser than N, then returns nread * */ export async function copyN( - dest: Writer, r: Reader, + dest: Writer, size: number ): Promise<number> { let bytesRead = 0; |