Skip to content

Commit

Permalink
env is passed to cp.execFile by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 10, 2020
1 parent 020a090 commit 52e0f20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/babel-core/test/async.js
Expand Up @@ -16,7 +16,6 @@ async function compileInSpawedProcess(async) {
// please publish Babel on a modernized node :)
const { stdout, stderr } = await util.promisify(cp.execFile)(
require.resolve(`./fixtures/babel-compile-${async ? "async" : "sync"}.mjs`),
{ env: process.env },
);
if (stderr) {
throw new Error(stderr);
Expand Down

0 comments on commit 52e0f20

Please sign in to comment.