Skip to content

Commit b403d03

Browse files
committed
always include the skip audit setting
1 parent f42d138 commit b403d03

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/get-settings/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ 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) {
26+
return isUsingDeployUrl
27+
? undefined
28+
: { settings: { skipAudits: ['is-crawlable'] } };
29+
}
2630

2731
// Set a base-level config based on the preset input value
2832
// (desktop is currently the only supported option)

0 commit comments

Comments
 (0)