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 /test_plugin/tests | |
| 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 'test_plugin/tests')
| -rw-r--r-- | test_plugin/tests/test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_plugin/tests/test.js b/test_plugin/tests/test.js index cdbde4769..49b126e62 100644 --- a/test_plugin/tests/test.js +++ b/test_plugin/tests/test.js @@ -11,7 +11,7 @@ if (Deno.build.os === "mac") { filenameSuffix = ".dylib"; } -const filename = `../target/${Deno.args[1]}/${filenamePrefix}${filenameBase}${filenameSuffix}`; +const filename = `../target/${Deno.args[0]}/${filenamePrefix}${filenameBase}${filenameSuffix}`; const plugin = Deno.openPlugin(filename); |
