Skip to content

Commit

Permalink
refactor: don't pass process.env to execa
Browse files Browse the repository at this point in the history
  • Loading branch information
erezrokah committed Aug 3, 2020
1 parent eeb4ec4 commit 89c6325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/devServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const startServer = async ({ cwd, env = {} }) => {
console.log(`Starting dev server on port: ${port} in directory ${path.basename(cwd)}`)
const ps = execa(cliPath, ['dev', '-p', port], {
cwd,
env: { ...process.env, ...env },
env,
reject: false,
})
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 89c6325

Please sign in to comment.