Skip to content

Commit

Permalink
fix: expose shell env to workers
Browse files Browse the repository at this point in the history
Signed-off-by: Chapman Pendery <[email protected]>
  • Loading branch information
cpendery committed Mar 1, 2024
1 parent c1cf904 commit 1e52153
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runner/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const pool = workerpool.pool(path.join(__dirname, "worker.js"), {
forkOpts: {
stdio: "inherit",
env: {
...process.env,
...(supportsColor ? { FORCE_COLOR: "1" } : {}),
},
},
Expand Down

0 comments on commit 1e52153

Please sign in to comment.