added check for undefined
This commit is contained in:
parent
eba5ab89b2
commit
950d598a54
|
|
@ -81,6 +81,8 @@ export default class PageXrayPlugin extends SitespeedioPlugin {
|
|||
includeAssets: true,
|
||||
firstParty: this.options.firstParty ?? undefined
|
||||
};
|
||||
if (!message.data) break;
|
||||
if (!config) break;
|
||||
const pageSummary = pagexray.convert(message.data, config);
|
||||
if (!pageSummary) break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue