Skip to content

Commit

Permalink
fix(core): Expression evaluation of process should respect `N8N_BLOCK…
Browse files Browse the repository at this point in the history
…_ENV_ACCESS_IN_NODE` (#4338)
  • Loading branch information
netroy authored Oct 13, 2022
1 parent c2e9a03 commit 5df09bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workflow/src/Expression.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class Expression {
typeof process !== 'undefined'
? {
arch: process.arch,
env: process.env,
env: process.env.N8N_BLOCK_ENV_ACCESS_IN_NODE === 'true' ? {} : process.env,
platform: process.platform,
pid: process.pid,
ppid: process.ppid,
Expand Down

0 comments on commit 5df09bb

Please sign in to comment.