Skip to content

Commit

Permalink
fix(ext/node): set process.env as own property (#485)
Browse files Browse the repository at this point in the history
cherry picked from upstream pr denoland/deno#27891
  • Loading branch information
nyannyacha authored Feb 3, 2025
1 parent c8f8a7b commit 1b2ab71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/node/polyfills/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,7 @@ const process = new Process();

/* Set owned property */
process.versions = versions;
process.env = env;

Object.defineProperty(process, Symbol.toStringTag, {
enumerable: false,
Expand Down

0 comments on commit 1b2ab71

Please sign in to comment.