diff options
author | Luca Casonato <hello@lcas.dev> | 2021-07-12 19:44:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-12 19:44:42 +0200 |
commit | 51e0bfda3c5df4fa1f1b36301193038ed6aaf7bf (patch) | |
tree | f730a56750444a94fdb42e508326d61754d24e07 /cli/tests/cat.ts | |
parent | 00484d24ba93418bbdde8e42483d56e3714efaa0 (diff) |
chore(runtime): deprecate `Deno.copy` (#11369)
Diffstat (limited to 'cli/tests/cat.ts')
-rw-r--r-- | cli/tests/cat.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/tests/cat.ts b/cli/tests/cat.ts index a5b38fccd..0cfd99d22 100644 --- a/cli/tests/cat.ts +++ b/cli/tests/cat.ts @@ -1,8 +1,9 @@ +import { copy } from "../../test_util/std/io/util.ts"; async function main(): Promise<void> { for (let i = 1; i < Deno.args.length; i++) { const filename = Deno.args[i]; const file = await Deno.open(filename); - await Deno.copy(file, Deno.stdout); + await copy(file, Deno.stdout); } } |