Skip to content

Commit

Permalink
chore: fix interverted condition in formatLighthouseReport.js (#10528)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Sep 27, 2024
1 parent 539412e commit 3b7c828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin/scripts/formatLighthouseReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(' | ')} |`;
Expand Down

0 comments on commit 3b7c828

Please sign in to comment.