chore: fix interverted condition in formatLighthouseReport.js (#10528)

This commit is contained in:
Sébastien Lorber 2024-09-27 13:43:19 +02:00 committed by GitHub
parent 539412ef49
commit 3b7c8281d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,8 @@ const createMarkdownTableRow = ({url, summary, reportUrl}) => {
Object.keys(summaryKeys)
).map((k) => scoreEntry(summary[k])),
reportUrl ? `Report N/A` : `[Report](${reportUrl})`,
// See https://github.com/facebook/docusaurus/pull/10527
reportUrl ? `[Report](${reportUrl})` : `Report N/A`,
];
return `| ${columns.join(' | ')} |`;