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/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/examples/test.ts') diff --git a/std/examples/test.ts b/std/examples/test.ts index 1c817dfd1..d5dd8bedc 100644 --- a/std/examples/test.ts +++ b/std/examples/test.ts @@ -14,7 +14,7 @@ Deno.test(function t2(): void { /** A more complicated test that runs a subprocess. */ Deno.test(async function catSmoke(): Promise { const p = run({ - args: [ + cmd: [ Deno.execPath(), "run", "--allow-read", -- cgit v1.2.3