Skip to content

Commit 78e761a

Browse files
paulirishpatrickhulce
authored andcommitted
fix(config): keep defaultPass on rebuild (#2671)
1 parent 98d85cc commit 78e761a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lighthouse-core/config/config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ class Config {
540540
}).filter(pass => {
541541
// remove any passes lacking concrete gatherers, unless they are dependent on the trace
542542
if (pass.recordTrace) return true;
543+
// Always keep defaultPass
544+
if (pass.passName === 'defaultPass') return true;
543545
return pass.gatherers.length > 0;
544546
});
545547
return filteredPasses;

0 commit comments

Comments
 (0)