diff options
Diffstat (limited to 'std/examples/cat.ts')
-rw-r--r-- | std/examples/cat.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/cat.ts b/std/examples/cat.ts index 7b7af3145..cf9a7cb1d 100644 --- a/std/examples/cat.ts +++ b/std/examples/cat.ts @@ -2,6 +2,6 @@ const filenames = Deno.args; for (const filename of filenames) { const file = await Deno.open(filename); - await Deno.copy(Deno.stdout, file); + await Deno.copy(file, Deno.stdout); file.close(); } |