Skip to content

Commit 2ac4319

Browse files
author
Adam Rutland
authored
Merge pull request #419 from jfgarcia268/master
Change Job Option from httpProxy to puppeteerHttpProxy
2 parents 113be32 + 4ddee20 commit 2ac4319

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/utilityservice.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,8 +1510,8 @@ UtilityService.prototype.getPuppeteerOptions = async function (jobInfo) {
15101510
headless: jobInfo.puppeteerHeadless,
15111511
args: ['--no-sandbox']
15121512
};
1513-
if (jobInfo.httpProxy) {
1514-
puppeteerOptions.args.push('--proxy-server=' + jobInfo.httpProxy);
1513+
if (jobInfo.puppeteerHttpProxy) {
1514+
puppeteerOptions.args.push('--proxy-server=' + jobInfo.puppeteerHttpProxy);
15151515
}
15161516

15171517
let macChrome = path.join('/', 'Applications', 'Google Chrome.app', 'Contents', 'MacOS', 'Google Chrome');

lib/vlocitycli.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ var VLOCITY_COMMANDLINE_OPTIONS = {
104104
"loginTimeoutForLoginLWC": Number,
105105
"puppeteerHeadless": Boolean,
106106
"ignoreLWCActivationOS": Boolean,
107-
"ignoreLWCActivationCards": Boolean
107+
"ignoreLWCActivationCards": Boolean,
108+
"puppeteerHttpProxy": String
108109
};
109110

110111
var VLOCITY_COMMANDLINE_OPTIONS_SHORTHAND = {

0 commit comments

Comments
 (0)