diff options
author | Akshat Agarwal <humancalico@disroot.org> | 2020-03-22 03:14:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 17:44:18 -0400 |
commit | b8a5c29bf8e04bb6210080a05ce34e9a8d1d1496 (patch) | |
tree | 4e5788c62165789b12c77534923db9dd2d2c57a3 /std/examples/tests/echo_server_test.ts | |
parent | b191c919f3bde46fe7e0112a33f060715b50b9a4 (diff) |
BREAKING CHANGE Rename Deno.run's args to cmd (#4444)
This is to avoid confusion with Deno.args which does not include the
executable to be run.
Diffstat (limited to 'std/examples/tests/echo_server_test.ts')
-rw-r--r-- | std/examples/tests/echo_server_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/examples/tests/echo_server_test.ts b/std/examples/tests/echo_server_test.ts index 3c1893342..164f65357 100644 --- a/std/examples/tests/echo_server_test.ts +++ b/std/examples/tests/echo_server_test.ts @@ -8,7 +8,7 @@ Deno.test("[examples/echo_server]", async () => { const encoder = new TextEncoder(); const decoder = new TextDecoder(); const process = Deno.run({ - args: [Deno.execPath(), "--allow-net", "echo_server.ts", `${port}`], + cmd: [Deno.execPath(), "--allow-net", "echo_server.ts", `${port}`], cwd: "examples", stdout: "piped" }); |