From 3b7c8281d506980823de1c32e58c317a3db4df3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Fri, 27 Sep 2024 13:43:19 +0200 Subject: [PATCH] chore: fix interverted condition in formatLighthouseReport.js (#10528) --- admin/scripts/formatLighthouseReport.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/scripts/formatLighthouseReport.js b/admin/scripts/formatLighthouseReport.js index d4bff682116c..5236d13d3efe 100644 --- a/admin/scripts/formatLighthouseReport.js +++ b/admin/scripts/formatLighthouseReport.js @@ -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(' | ')} |`;