File tree 2 files changed +3
-9
lines changed 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const mergeSettingsSources = (inputSettings = {}) => {
22
22
23
23
const getSettings = ( inputSettings , isUsingDeployUrl ) => {
24
24
const settings = mergeSettingsSources ( inputSettings ) ;
25
- if ( Object . keys ( settings ) . length === 0 ) return ;
25
+ // if (Object.keys(settings).length === 0) return;
26
26
27
27
// Set a base-level config based on the preset input value
28
28
// (desktop is currently the only supported option)
Original file line number Diff line number Diff line change @@ -12,14 +12,8 @@ const runAuditWithUrl = async ({
12
12
13
13
const getResults = async ( ) => {
14
14
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 ) ;
23
17
24
18
try {
25
19
return { results } ;
You can’t perform that action at this time.
0 commit comments