mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
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
This commit is contained in:
parent
c50cab90a0
commit
d492c5abe3
22 changed files with 29 additions and 28 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue