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. --- cli/js/lib.deno.ns.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/lib.deno.ns.d.ts') diff --git a/cli/js/lib.deno.ns.d.ts b/cli/js/lib.deno.ns.d.ts index 4a7609920..dd32162ef 100644 --- a/cli/js/lib.deno.ns.d.ts +++ b/cli/js/lib.deno.ns.d.ts @@ -1900,12 +1900,12 @@ declare namespace Deno { signal?: number; } - /** **UNSTABLE**: Maybe rename `args` to `argv` to differentiate from + /** **UNSTABLE**: `args` has been recently renamed to `cmd` to differentiate from * `Deno.args`. */ export interface RunOptions { /** Arguments to pass. Note, the first element needs to be a path to the * binary */ - args: string[]; + cmd: string[]; cwd?: string; env?: { [key: string]: string; -- cgit v1.2.3