diff --git a/lib/core/engine/index.js b/lib/core/engine/index.js index 31367d6aa..3cbea35f1 100644 --- a/lib/core/engine/index.js +++ b/lib/core/engine/index.js @@ -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);