From d492c5abe3c7c0716b9695c8a40d0256569d2338 Mon Sep 17 00:00:00 2001 From: Ry Dahl Date: Thu, 9 Jan 2020 11:37:01 -0700 Subject: feat: Deno.args now does not include script (#3628) Previously Deno.args was ["script.js", "arg1", "arg2"] Now it is just ["arg1", "arg2"] BREAKING CHANGE --- std/prettier/testdata/echox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/prettier/testdata') diff --git a/std/prettier/testdata/echox.ts b/std/prettier/testdata/echox.ts index 68c54b999..5f8306b37 100644 --- a/std/prettier/testdata/echox.ts +++ b/std/prettier/testdata/echox.ts @@ -5,4 +5,4 @@ async function echox(args: string[]) { Deno.exit(0); } -echox(Deno.args.slice(1)); +echox(Deno.args); -- cgit v1.2.3