diff options
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 |