Skip to content

Commit

Permalink
fix: include all lighthouse fields when --lighthouse used
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Aug 27, 2020
1 parent df2747d commit 0efaa0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrap-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = async (baseUrl, options = {}) => {

// lighthouse fields
if (options.lighthouse) {
for (let fName of fieldsPresets.lighthouse) {
for (let fName of fieldsPresets['lighthouse-all']) {
if (fields.indexOf(fName) === -1) {
fields.push(fName);
}
Expand Down

0 comments on commit 0efaa0a

Please sign in to comment.