We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0269917 commit b798f89Copy full SHA for b798f89
lighthouse-core/gather/gather-runner.js
@@ -206,8 +206,8 @@ class GatherRunner {
206
.then(_ => this.afterPass(runOptions))
207
.then(loadData => {
208
// Merge pass trace and network data into tracingData.
209
- Object.assign(tracingData.traces, loadData.traces);
210
- tracingData.networkRecords = loadData.networkRecords;
+ config.trace && Object.assign(tracingData.traces, loadData.traces);
+ config.network && (tracingData.networkRecords = loadData.networkRecords);
211
})
212
.then(_ => this.tearDown(runOptions));
213
}, Promise.resolve());
0 commit comments