Skip to content

Commit 79fc335

Browse files
committed
default to fullconfig, adding crawlable setting
1 parent 15ab9b0 commit 79fc335

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/lib/get-settings/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const mergeSettingsSources = (inputSettings = {}) => {
2222

2323
const 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)

src/lib/run-audit-with-url/index.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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 };

0 commit comments

Comments
 (0)