From b8a5c29bf8e04bb6210080a05ce34e9a8d1d1496 Mon Sep 17 00:00:00 2001 From: Akshat Agarwal Date: Sun, 22 Mar 2020 03:14:18 +0530 Subject: 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. --- std/examples/chat/server_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/examples/chat/server_test.ts') diff --git a/std/examples/chat/server_test.ts b/std/examples/chat/server_test.ts index 65e0b5958..e09771e52 100644 --- a/std/examples/chat/server_test.ts +++ b/std/examples/chat/server_test.ts @@ -12,7 +12,7 @@ const { test, build } = Deno; async function startServer(): Promise { const server = Deno.run({ - args: [ + cmd: [ Deno.execPath(), "--allow-net", "--allow-read", -- cgit v1.2.3