diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-09 11:37:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 11:37:01 -0700 |
commit | d492c5abe3c7c0716b9695c8a40d0256569d2338 (patch) | |
tree | 15d5d901d3dac3bedefd7258d29a177a2f6ae9a0 /std/testing/runner.ts | |
parent | c50cab90a05d271013f741768d70c1eda6ef9a10 (diff) |
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
Diffstat (limited to 'std/testing/runner.ts')
-rwxr-xr-x | std/testing/runner.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/testing/runner.ts b/std/testing/runner.ts index d0d9ae2ec..17d5942f8 100755 --- a/std/testing/runner.ts +++ b/std/testing/runner.ts @@ -243,7 +243,7 @@ export async function runTestModules({ } async function main(): Promise<void> { - const parsedArgs = parse(args.slice(1), { + const parsedArgs = parse(args, { boolean: ["allow-none", "failfast", "help", "quiet"], string: ["exclude"], alias: { |