diff options
author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-07-10 00:33:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-09 21:33:41 +0000 |
commit | fb6348500ffc827b3aaca3e8299e1a3964be43c1 (patch) | |
tree | d73be641e8cfe41512ee275070ee39ca2efe3be6 /tests/specs/compile/env_vars_support/main.ts | |
parent | 52946878b26e37849d6688236116e66c14007386 (diff) |
feat(compile): support --env (#24166)
Supported the use of --env flag with the compile subcommand, so that the
generated executable/binary file can access the passed env file.
Diffstat (limited to 'tests/specs/compile/env_vars_support/main.ts')
-rw-r--r-- | tests/specs/compile/env_vars_support/main.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/specs/compile/env_vars_support/main.ts b/tests/specs/compile/env_vars_support/main.ts new file mode 100644 index 000000000..48488ce72 --- /dev/null +++ b/tests/specs/compile/env_vars_support/main.ts @@ -0,0 +1,3 @@ +console.log(Deno.env.get("FOO")); +console.log(Deno.env.get("ANOTHER_FOO")); +console.log(Deno.env.get("MULTILINE")); |