mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-08 13:52:36 +02:00
chore: fix interverted condition in formatLighthouseReport.js (#10528)
This commit is contained in:
parent
539412ef49
commit
3b7c8281d5
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ const createMarkdownTableRow = ({url, summary, reportUrl}) => {
|
||||||
Object.keys(summaryKeys)
|
Object.keys(summaryKeys)
|
||||||
).map((k) => scoreEntry(summary[k])),
|
).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(' | ')} |`;
|
return `| ${columns.join(' | ')} |`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue