@@ -26,7 +26,8 @@ export default (options: Record<string, string>): Context => {
2626 try {
2727 if ( options . config ) {
2828 config = JSON . parse ( fs . readFileSync ( options . config , 'utf-8' ) ) ;
29- logger . debug ( `Config file ${ options . config } loaded: ${ JSON . stringify ( config , null , 2 ) } ` ) ;
29+ // TODO: Mask sensitive data of config file
30+ // logger.debug(`Config file ${options.config} loaded: ${JSON.stringify(config, null, 2)}`);
3031
3132 // resolutions supported for backward compatibility
3233 if ( config . web ?. resolutions ) {
@@ -112,7 +113,8 @@ export default (options: Record<string, string>): Context => {
112113 ignoreHTTPSErrors : config . ignoreHTTPSErrors ?? false ,
113114 skipBuildCreation : config . skipBuildCreation ?? false ,
114115 tunnel : tunnelObj ,
115- userAgent : config . userAgent || ''
116+ userAgent : config . userAgent || '' ,
117+ requestHeaders : config . requestHeaders || { }
116118 } ,
117119 uploadFilePath : '' ,
118120 webStaticConfig : [ ] ,
@@ -148,7 +150,8 @@ export default (options: Record<string, string>): Context => {
148150 fetchResults : fetchResultObj ,
149151 fetchResultsFileName : fetchResultsFileObj ,
150152 baselineBranch : options . baselineBranch || '' ,
151- baselineBuild : options . baselineBuild || ''
153+ baselineBuild : options . baselineBuild || '' ,
154+ githubURL : options . githubURL || ''
152155 } ,
153156 cliVersion : version ,
154157 totalSnapshots : - 1 ,
0 commit comments