diff options
author | Valentin Anger <syrupthinker@gryphno.de> | 2020-04-29 20:48:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 14:48:19 -0400 |
commit | 721a4ad59d4a8bdd8470d6b98839137f14c84ba9 (patch) | |
tree | a8a7f7810a92c366224564b62b5fe7acab717466 /std/node/process.ts | |
parent | 17cf2ecdacea2254c06374866c4e7e83e282226d (diff) |
BREAKING: Map-like interface for Deno.env (#4942)
Diffstat (limited to 'std/node/process.ts')
-rw-r--r-- | std/node/process.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/node/process.ts b/std/node/process.ts index 310a7e814..f90e1eada 100644 --- a/std/node/process.ts +++ b/std/node/process.ts @@ -30,7 +30,7 @@ export const process = { on, get env(): { [index: string]: string } { // using getter to avoid --allow-env unless it's used - return Deno.env(); + return Deno.env.toObject(); }, get argv(): string[] { // Deno.execPath() also requires --allow-env |