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 --- test_plugin/tests/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_plugin/tests') 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); -- cgit v1.2.3