chore(bisect): inherit parent ENV when launching script (#4842)

This commit is contained in:
Andrey Lushnikov 2019-08-13 16:28:09 -07:00 committed by GitHub
parent d687c81cd5
commit 2871bcd57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,6 +116,7 @@ function runScript(scriptPath, revisionInfo) {
const child = fork(scriptPath, [], {
stdio: ['inherit', 'inherit', 'inherit', 'ipc'],
env: {
...process.env,
PUPPETEER_EXECUTABLE_PATH: revisionInfo.executablePath,
},
});