diff options
Diffstat (limited to 'std/node/module.ts')
-rw-r--r-- | std/node/module.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/node/module.ts b/std/node/module.ts index b7a0107d0..9203764f0 100644 --- a/std/node/module.ts +++ b/std/node/module.ts @@ -534,8 +534,8 @@ class Module { } static _initPaths(): void { - const homeDir = Deno.env("HOME"); - const nodePath = Deno.env("NODE_PATH"); + const homeDir = Deno.env.get("HOME"); + const nodePath = Deno.env.get("NODE_PATH"); // Removed $PREFIX/bin/node case |