Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed May 4, 2024
1 parent 2e4478b commit 3b17589
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/core/engine/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,12 @@ export class Engine {

// Backfill the fully loaded data that we extract from the HAR
// Only do this if we actually had requests
if (!options.skipHar && extras.har && extras.har.log && extras.har.log.entries.length > 0) {
if (
!options.skipHar &&
extras.har &&
extras.har.log &&
extras.har.log.entries.length > 0
) {
const fullyLoadedPerUrl = getFullyLoaded(extras.har);
for (let data of fullyLoadedPerUrl) {
collector.addFullyLoaded(data.url, data.fullyLoaded);
Expand Down

0 comments on commit 3b17589

Please sign in to comment.