Skip to content

Commit

Permalink
fix: ensure local env have priority
Browse files Browse the repository at this point in the history
Fixes #2209
  • Loading branch information
remy committed Jun 20, 2024
1 parent bb34032 commit 6020968
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
Expand Up @@ -64,7 +64,7 @@ function run(options) {
const binPath = process.cwd() + '/node_modules/.bin';

const spawnOptions = {
env: Object.assign({}, process.env, options.execOptions.env, {
env: Object.assign({}, options.execOptions.env, process.env, {
PATH:
binPath +
path.delimiter +
Expand Down

0 comments on commit 6020968

Please sign in to comment.