Skip to content

Commit

Permalink
honour env from environment object
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Aug 21, 2024
1 parent 9d19ffa commit 6bc43ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/parallel/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class ChildProcessAdapter implements RuntimeAdapter {
const workerProcess = fork(runWorkerPath, [], {
cwd: this.environment.cwd,
env: {
...process.env,
...this.environment.env,
CUCUMBER_PARALLEL: 'true',
CUCUMBER_TOTAL_WORKERS: total.toString(),
CUCUMBER_WORKER_ID: id,
Expand Down

0 comments on commit 6bc43ee

Please sign in to comment.