Skip to content

Commit 6020968

Browse files
committed
fix: ensure local env have priority
Fixes #2209
1 parent bb34032 commit 6020968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/monitor/run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function run(options) {
6464
const binPath = process.cwd() + '/node_modules/.bin';
6565

6666
const spawnOptions = {
67-
env: Object.assign({}, process.env, options.execOptions.env, {
67+
env: Object.assign({}, options.execOptions.env, process.env, {
6868
PATH:
6969
binPath +
7070
path.delimiter +

0 commit comments

Comments
 (0)