File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const mergeSettingsSources = (inputSettings = {}) => {
2222
2323const getSettings = ( inputSettings , isUsingDeployUrl ) => {
2424 const settings = mergeSettingsSources ( inputSettings ) ;
25- if ( Object . keys ( settings ) . length === 0 ) return ;
25+ // if (Object.keys(settings).length === 0) return;
2626
2727 // Set a base-level config based on the preset input value
2828 // (desktop is currently the only supported option)
Original file line number Diff line number Diff line change @@ -12,14 +12,8 @@ const runAuditWithUrl = async ({
1212
1313 const getResults = async ( ) => {
1414 const fullPath = path ? `${ url } /${ path } ` : url ;
15- console . log ( 'Running lighthouse with settings' , {
16- ...settings ,
17- skipAudits : [ 'is-crawlable' ] ,
18- } ) ;
19- const results = await runLighthouse ( browserPath , fullPath , {
20- ...settings ,
21- skipAudits : [ 'is-crawlable' ] ,
22- } ) ;
15+ console . log ( 'Running lighthouse with settings' , settings ) ;
16+ const results = await runLighthouse ( browserPath , fullPath , settings ) ;
2317
2418 try {
2519 return { results } ;
You can’t perform that action at this time.
0 commit comments