Skip to content

Commit

Permalink
Merge branch 'Triple-Whale-main'
Browse files Browse the repository at this point in the history
* Triple-Whale-main:
  allow user set PATH
  • Loading branch information
remy committed Jul 7, 2023
2 parents 725569b + 023e2d1 commit c13dbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/monitor/run.js
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ function run(options) {

const spawnOptions = {
env: Object.assign({}, process.env, options.execOptions.env, {
PATH: binPath + path.delimiter + process.env.PATH,
PATH: binPath + path.delimiter + options.execOptions.env?.PATH || process.env.PATH,
}),
stdio: stdio,
};

0 comments on commit c13dbbb

Please sign in to comment.